mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
bug: color seed setting not working (#516)
This commit is contained in:
@@ -22,7 +22,7 @@ class MyApp extends StatelessWidget {
|
||||
listenable: RNodes.app,
|
||||
builder: (context, _) {
|
||||
if (!Stores.setting.useSystemPrimaryColor.fetch()) {
|
||||
UIs.colorSeed = Color(Stores.setting.primaryColor.fetch());
|
||||
UIs.colorSeed = Color(Stores.setting.colorSeed.fetch());
|
||||
return _buildApp(
|
||||
context,
|
||||
light: ThemeData(
|
||||
@@ -88,6 +88,7 @@ class MyApp extends StatelessWidget {
|
||||
context.setLibL10n();
|
||||
final appL10n = AppLocalizations.of(context);
|
||||
if (appL10n != null) l10n = appL10n;
|
||||
UIs.primaryColor = Theme.of(context).colorScheme.primary;
|
||||
|
||||
final intros = _IntroPage.builders;
|
||||
if (intros.isNotEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user