Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 143dbc05 authored by LuK1337's avatar LuK1337
Browse files

SystemUI: Fix large clock top margin with Smartspace disabled

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/9452
Change-Id: I526ea8498ec6654708ddd732c038085d87ad0cbd
parent dbc227e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -206,10 +206,12 @@ constructor(
                if (com.android.systemui.shared.Flags.clockReactiveSmartspaceLayout()) {
                    keyguardClockViewModel.getLargeClockTopMargin() +
                        getDimen(ENHANCED_SMARTSPACE_HEIGHT)
                } else {
                } else if (smartspaceViewModel.isSmartspaceEnabled) {
                    keyguardClockViewModel.getLargeClockTopMargin() +
                        getDimen(DATE_WEATHER_VIEW_HEIGHT) +
                        getDimen(ENHANCED_SMARTSPACE_HEIGHT)
                } else {
                    keyguardClockViewModel.getLargeClockTopMargin()
                }
            connect(
                customR.id.lockscreen_clock_view_large,