File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,17 @@ android {
5353 }
5454
5555 buildTypes {
56+ maybeCreate(" profile" )
57+ getByName(" profile" ) {
58+ initWith(getByName(" debug" ))
59+ matchingFallbacks + = listOf (" debug" )
60+ signingConfig = signingConfigs.getByName(" release" )
61+ }
62+
63+ getByName(" debug" ) {
64+ signingConfig = signingConfigs.getByName(" release" )
65+ }
66+
5667 release {
5768 signingConfig = signingConfigs.getByName(" release" )
5869
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ class MyApp extends StatelessWidget {
148148 @override
149149 Widget build (BuildContext context) {
150150 return DynamicTheme (
151+ loadBrightnessOnStart: false ,
151152 defaultBrightness: Settings .useSystemTheme.value
152153 ? PlatformDispatcher .instance.platformBrightness
153154 : (Settings .themeWhat.value ? Brightness .dark : Brightness .light),
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ class _SettingsPageState extends ThemeSwitchableState<SettingsPage>
299299 child: BlockPicker (
300300 pickerColor: Settings .majorColor.value,
301301 onColorChanged: (color) async {
302- await Settings .majorColor. setValue (color);
302+ await Settings .setMajorColor (color);
303303 setState (() {
304304 _shouldReload = true ;
305305 });
You can’t perform that action at this time.
0 commit comments