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

Commit 54a1c633 authored by Ioana Alexandru's avatar Ioana Alexandru Committed by Android (Google) Code Review
Browse files

Merge "Move shouldHideFooterView to the bg" into main

parents 0ba97960 25e26c18
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -123,7 +123,10 @@ constructor(
            // When the shade is closed, the footer is still present in the list, but not visible.
            // This prevents the footer from being shown when a HUN is present, while still allowing
            // the footer to be counted as part of the shade for measurements.
            shadeInteractor.shadeExpansion.map { it == 0f }.distinctUntilChanged()
            shadeInteractor.shadeExpansion
                .map { it == 0f }
                .flowOn(bgDispatcher)
                .distinctUntilChanged()
        }
    }

@@ -274,5 +277,6 @@ constructor(
    // TODO(b/325936094) use it for the text displayed in the StatusBar
    fun headsUpRow(key: HeadsUpRowKey): HeadsUpRowViewModel =
        HeadsUpRowViewModel(headsUpNotificationInteractor.headsUpRow(key))

    fun elementKeyFor(key: HeadsUpRowKey): Any = headsUpNotificationInteractor.elementKeyFor(key)
}