properly toggle dynamic hide statbar clock

This commit is contained in:
MrSluffy
2024-12-20 14:38:11 +08:00
parent adfdc67bd6
commit 2ca9e36c65
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
}
public void updateStatusbarClock() {
if (mCurrentPage == 0) {
if (mCurrentPage == 0 && PreferenceExtensionsKt.firstBlocking(mPreferenceManager2.getStatusBarClock())) {
LawnchairAppKt.getLawnchairApp(mLauncher).hideClockInStatusBar();
} else {
LawnchairAppKt.getLawnchairApp(mLauncher).restoreClockInStatusBar();