mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
refactor: Remove primaryColor parameter from setCurrentTitle function
This commit is contained in:
@@ -299,8 +299,7 @@ class _SinglePageViewer extends State<SinglePageViewer>
|
||||
: AppLocalizations.of(context)!.loading;
|
||||
if (isTop(context)) {
|
||||
if (!kIsWeb || (_data != null && kIsWeb)) {
|
||||
setCurrentTitle(title, Theme.of(context).primaryColor.value,
|
||||
includePrefix: false);
|
||||
setCurrentTitle(title, includePrefix: false);
|
||||
}
|
||||
}
|
||||
if (_data == null || _files == null) {
|
||||
|
||||
Reference in New Issue
Block a user