Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aihrarshaikh committed Mar 30, 2023
1 parent b0a4067 commit 5af8af6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 42 deletions.
4 changes: 0 additions & 4 deletions lib/Screens/expenses.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import 'dart:async';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:eclipsis/Screens/Expenselist.dart';
import 'package:eclipsis/supabasehandler.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter_sms_inbox/flutter_sms_inbox.dart';
Expand All @@ -22,7 +21,6 @@ class ExpensePageState extends State<ExpensePage> {
int bank =0;
bool _isLoading = true;
bool temppp = false;
SupaBaseHandler supaBaseHandler = SupaBaseHandler();
bool gen1 = true;
List<dynamic> jan = [];
List<dynamic> feb = [];
Expand Down Expand Up @@ -1309,8 +1307,6 @@ _messages = [];

income = 0;

supaBaseHandler.readData();


print("bank $bank");

Expand Down
3 changes: 0 additions & 3 deletions lib/services/auth.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:eclipsis/supabasehandler.dart';
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:google_sign_in/google_sign_in.dart';

class GoogleSignInProvider extends ChangeNotifier {
SupaBaseHandler supaBaseHandler = SupaBaseHandler();
final googleSignIn = GoogleSignIn();
GoogleSignInAccount? _user;
GoogleSignInAccount get user => _user!;
Expand All @@ -29,7 +27,6 @@ class GoogleSignInProvider extends ChangeNotifier {
{
bool condition = await doesUserExist();
if (condition == false){
supaBaseHandler.addData(FirebaseAuth.instance.currentUser!.uid,[],FirebaseAuth.instance.currentUser!.displayName.toString());
print("in create");
FirebaseFirestore.instance.collection("Users").doc(FirebaseAuth.instance.currentUser!.uid).set({
'name' : FirebaseAuth.instance.currentUser!.displayName,
Expand Down
35 changes: 0 additions & 35 deletions lib/supabasehandler.dart

This file was deleted.

0 comments on commit 5af8af6

Please sign in to comment.