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

@@ -180,7 +180,7 @@ class _GalleriesPage extends State<GalleriesPage>
? i18n.categoryGalleries(widget.category!)
: i18n.galleries;
if (isTop(context)) {
setCurrentTitle(title, Theme.of(context).primaryColor.value);
setCurrentTitle(title);
}
if (auth.canManageTasks == true &&
!widget.hasExtra &&