mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
refactor: Remove primaryColor parameter from setCurrentTitle function
This commit is contained in:
@@ -68,9 +68,8 @@ class _UsersPage extends State<UsersPage> with ThemeModeWidget, IsTopWidget2 {
|
||||
final isLoading = _users == null && _error == null;
|
||||
if (isLoading && !_isLoading) _fetchData();
|
||||
final i18n = AppLocalizations.of(context)!;
|
||||
final th = Theme.of(context);
|
||||
if (isTop(context)) {
|
||||
setCurrentTitle(i18n.userManagemant, th.primaryColor.value);
|
||||
setCurrentTitle(i18n.userManagemant);
|
||||
}
|
||||
return Scaffold(
|
||||
appBar: _users == null
|
||||
|
||||
Reference in New Issue
Block a user