File tree 6 files changed +16
-15
lines changed
6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ flutter {
116
116
117
117
dependencies {
118
118
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.20"
119
- implementation " androidx.startup:startup-runtime:1.1.1 "
119
+ implementation " androidx.startup:startup-runtime:1.2.0 "
120
120
implementation ' com.google.mlkit:barcode-scanning:17.3.0'
121
121
}
122
122
@@ -129,5 +129,5 @@ configurations.configureEach {
129
129
ext {
130
130
compileSdkVersion = 34
131
131
targetSdkVersion = 34
132
- appCompatVersion = " 1.7 .0"
132
+ appCompatVersion = " 1.9 .0"
133
133
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ plugins {
20
20
id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21
21
id " com.android.application" version ' 7.4.2' apply false
22
22
id " org.jetbrains.kotlin.android" version " 1.7.20" apply false
23
- id " com.google.gms.google-services" version " 4.4.0 " apply false
23
+ id " com.google.gms.google-services" version " 4.4.2 " apply false
24
24
id " com.google.firebase.crashlytics" version " 2.9.9" apply false
25
25
}
26
26
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ class ThemeService extends ProfileService {
36
36
return ThemeColors .lightTheme;
37
37
case ThemesModeEnum .darkMode:
38
38
return _getDarkTheme;
39
- default :
40
- return null ;
41
39
}
42
40
}
43
41
Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ class ThemeColors {
182
182
brightness: Brightness .light,
183
183
barBackgroundColor: navigationBarBackground,
184
184
textTheme: ehTextTheme,
185
+ primaryColor: CupertinoColors .systemBlue,
185
186
// scaffoldBackgroundColor: CupertinoColors.secondarySystemBackground,
186
187
);
187
188
Original file line number Diff line number Diff line change @@ -239,21 +239,20 @@ class ReadButton extends StatelessWidget {
239
239
Widget build (BuildContext context) {
240
240
return Obx (
241
241
() => MouseRegionClick (
242
- child: CupertinoButton (
242
+ child: CupertinoButton . filled (
243
243
minSize: 24 ,
244
244
padding: const EdgeInsets .symmetric (horizontal: 18 , vertical: 6 ),
245
245
borderRadius: BorderRadius .circular (20 ),
246
- color: CupertinoColors .activeBlue,
246
+ // color: CupertinoColors.activeBlue,
247
247
onPressed: _pageState.enableRead
248
248
? () => _toViewPage (_pageState.galleryProvider? .gid ?? '0' ,
249
249
_pageState.lastIndex)
250
250
: null ,
251
251
child: Text (
252
- (_pageState.lastIndex > 0 )
253
- ? '${L10n .of (context ).read .toUpperCase ()} ${_pageState .lastIndex + 1 }'
254
- : L10n .of (context).read.toUpperCase (),
255
- style: const TextStyle (fontSize: 15 , height: 1.2 ),
256
- )),
252
+ (_pageState.lastIndex > 0 )
253
+ ? '${L10n .of (context ).read .toUpperCase ()} ${_pageState .lastIndex + 1 }'
254
+ : L10n .of (context).read.toUpperCase (),
255
+ style: const TextStyle (fontSize: 15 , height: 1.2 ))),
257
256
),
258
257
);
259
258
}
Original file line number Diff line number Diff line change @@ -97,13 +97,16 @@ class LoginPage extends GetView<LoginController> {
97
97
height: 50 ,
98
98
child: GetBuilder <LoginController >(
99
99
builder: (logic) {
100
- return CupertinoButton (
101
- color: CupertinoColors .activeBlue,
100
+ return CupertinoButton . filled (
101
+ // color: CupertinoColors.activeBlue,
102
102
onPressed:
103
103
logic.loadingLogin ? null : logic.pressLogin,
104
104
child: logic.loadingLogin
105
105
? const CupertinoActivityIndicator ()
106
- : Text (L10n .of (context).login),
106
+ : Text (
107
+ L10n .of (context).login,
108
+ style: const TextStyle (height: 1.2 ),
109
+ ),
107
110
);
108
111
},
109
112
),
You can’t perform that action at this time.
0 commit comments