opt.: detect sync conflict

This commit is contained in:
lollipopkit
2023-12-04 14:36:32 +08:00
parent 38cdef9458
commit 22901bb856
14 changed files with 104 additions and 23 deletions

View File

@@ -339,7 +339,7 @@ class _SettingPageState extends State<SettingPage> {
title: Text(l10n.followSystem),
trailing: StoreSwitch(
prop: _setting.useSystemPrimaryColor,
func: (_) => setState(() {}),
callback: (_) => setState(() {}),
),
)
];
@@ -747,7 +747,7 @@ class _SettingPageState extends State<SettingPage> {
title: Text(l10n.fullScreen),
trailing: StoreSwitch(
prop: _setting.fullScreen,
func: (_) => RebuildNodes.app.rebuild(),
callback: (_) => RebuildNodes.app.rebuild(),
),
);
}