Skip to content

Commit 31e0c7e

Browse files
authored
Merge pull request #98 from rootstrap/revert-97-module/gemini_chat
Revert "Module/gemini chat"
2 parents 2bf2ab0 + e730d7e commit 31e0c7e

File tree

15 files changed

+51
-234
lines changed

15 files changed

+51
-234
lines changed

.idea/flutter-base.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Dart_SDK.xml

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.9.24'
2+
ext.kotlin_version = '1.6.10'
33
repositories {
44
google()
55
mavenCentral()
@@ -9,7 +9,6 @@ buildscript {
99
classpath 'com.android.tools.build:gradle:7.1.2'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
12-
1312
}
1413

1514
allprojects {

app/android/google-services.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

app/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1717
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1818
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
19-
FA329E38D52E8B060250C4D4 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = FBDB3CFFD502B8FF4C001C4A /* GoogleService-Info.plist */; };
2019
/* End PBXBuildFile section */
2120

2221
/* Begin PBXCopyFilesBuildPhase section */
@@ -58,7 +57,6 @@
5857
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5958
D7CB58670CA60602A18EE27E /* Pods-Runner.debug dev.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug dev.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug dev.xcconfig"; sourceTree = "<group>"; };
6059
E119DC735666E9662370C55A /* Pods-Runner.release dev.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release dev.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release dev.xcconfig"; sourceTree = "<group>"; };
61-
FBDB3CFFD502B8FF4C001C4A /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = "<group>"; };
6260
/* End PBXFileReference section */
6361

6462
/* Begin PBXFrameworksBuildPhase section */
@@ -110,7 +108,6 @@
110108
97C146EF1CF9000F007C117D /* Products */,
111109
55E3773A8035648ECA5506A9 /* Pods */,
112110
BF7702CA177D02242960463B /* Frameworks */,
113-
FBDB3CFFD502B8FF4C001C4A /* GoogleService-Info.plist */,
114111
);
115112
sourceTree = "<group>";
116113
};
@@ -214,7 +211,6 @@
214211
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
215212
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
216213
66CB0DDB28E28FBC00FAD317 /* qa.xcconfig in Resources */,
217-
FA329E38D52E8B060250C4D4 /* GoogleService-Info.plist in Resources */,
218214
);
219215
runOnlyForDeploymentPostprocessing = 0;
220216
};

app/lib/main/env/main_dev.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@ import 'package:flutter/material.dart';
33
import 'package:app/main/env/env_config.dart';
44
import 'package:app/main/init.dart';
55

6-
import '../../firebase_options.dart';
7-
86
void main() async {
97
WidgetsFlutterBinding.ensureInitialized();
108
FlavorConfig(
119
flavor: Flavor.dev,
1210
values: FlavorValues(baseUrl: "https://demo_dev/web_api.json"),
1311
);
14-
await Firebase.initializeApp(
15-
options: DefaultFirebaseOptions.currentPlatform,
16-
);
1712
//Add your firebase configuration here
1813
/*await Firebase.initializeApp(
1914
options: const FirebaseOptions(

app/lib/presentation/navigation/routers.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'package:app/presentation/ui/pages/geminichat/geminichat_page.dart';
21
import 'package:app/presentation/ui/pages/home/home_page.dart';
32
import 'package:app/presentation/ui/pages/login/login_page.dart';
43
import 'package:app/presentation/ui/pages/sign_up/sign_up_page.dart';
@@ -29,11 +28,6 @@ class Routers {
2928
path: "/home",
3029
builder: (context, state) => const HomePage(),
3130
),
32-
GoRoute(
33-
name: "chat",
34-
path: "/chat",
35-
builder: (context, state) => const GeminiChatPage(),
36-
),
3731
],
3832
);
3933
}

app/lib/presentation/ui/pages/geminichat/geminichat_page.dart

Lines changed: 0 additions & 87 deletions
This file was deleted.

app/lib/presentation/ui/pages/geminichat/geminichat_view.dart

Whitespace-only changes.

app/lib/presentation/ui/pages/home/home_view.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:app/main/init.dart';
2-
import 'package:app/presentation/navigation/routers.dart';
32
import 'package:common/core/failure/failure.dart';
43
import 'package:common/core/resource.dart';
54
import 'package:example_domain/models/product.dart';
@@ -12,11 +11,9 @@ import 'package:app/presentation/ui/custom/app_theme_switch.dart';
1211
import 'package:app/presentation/ui/custom/failure_widget.dart';
1312

1413
import 'package:flutter_bloc/flutter_bloc.dart';
15-
import 'package:go_router/go_router.dart';
1614

1715
class HomeView extends StatelessWidget {
1816
AuthService get _authService => getIt();
19-
GoRouter get _goRouter => Routers.authRouter;
2017

2118
const HomeView({Key? key}) : super(key: key);
2219

@@ -29,10 +26,6 @@ class HomeView extends StatelessWidget {
2926
onPressed: () => _authService.onLogout(),
3027
icon: const Icon(Icons.logout),
3128
),
32-
IconButton(
33-
onPressed: () => _goRouter.go('/chat'),
34-
icon: const Icon(Icons.chat_bubble),
35-
),
3629
const AppThemeSwitch(),
3730
],
3831
),

0 commit comments

Comments
 (0)