Skip to content

Commit

Permalink
changing the name of controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Amartya-Mahato committed Nov 22, 2022
1 parent 06dfd93 commit 57c0f1a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/navigation.dart';
import 'package:news_app/controllers/navigation_controller.dart';
import 'package:shared_preferences/shared_preferences.dart';

class Database {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/pages/artical_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/database_controller.dart';
import 'package:upi_india/upi_india.dart';

class ArticalPage extends StatefulWidget {
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/bookmark_page.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/navigation.dart';
import 'package:news_app/controllers/database_controller.dart';
import 'package:news_app/controllers/navigation_controller.dart';
import 'package:news_app/modules/cart_sream.dart';

class BookmarkPage extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/edit_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:file_picker/file_picker.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/database_controller.dart';

class EditPage extends StatefulWidget {
const EditPage({super.key, required this.snapshot});
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/reader_home.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/navigation.dart';
import 'package:news_app/controllers/database_controller.dart';
import 'package:news_app/controllers/navigation_controller.dart';
import 'package:shared_preferences/shared_preferences.dart';

class ReaderHome extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/register_account.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/database_controller.dart';


class RegisterAccount extends StatefulWidget {
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/user_login.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/navigation.dart';
import 'package:news_app/controllers/database_controller.dart';
import 'package:news_app/controllers/navigation_controller.dart';

class UserLogin extends StatefulWidget {
const UserLogin({super.key});
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/writer_home.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:news_app/controllers/database.dart';
import 'package:news_app/controllers/navigation.dart';
import 'package:news_app/controllers/database_controller.dart';
import 'package:news_app/controllers/navigation_controller.dart';
import 'package:shared_preferences/shared_preferences.dart';

class WriterHome extends StatefulWidget {
Expand Down

0 comments on commit 57c0f1a

Please sign in to comment.