refactor: Remove primaryColor parameter from setCurrentTitle function

This commit is contained in:
2025-01-05 10:13:51 +08:00
parent 340e624d72
commit 2a6866fb26
17 changed files with 22 additions and 34 deletions

View File

@@ -105,8 +105,7 @@ class _CacheSettingsPage extends State<CacheSettingsPage>
Widget build(BuildContext context) {
final i18n = AppLocalizations.of(context)!;
if (isTop(context)) {
setCurrentTitle("${i18n.settings} - ${i18n.cache}",
Theme.of(context).primaryColor.value);
setCurrentTitle("${i18n.settings} - ${i18n.cache}");
}
return Scaffold(
appBar: AppBar(