mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Do not display clear filter when no filter is applied in call log.
This commit is contained in:
@@ -63,7 +63,7 @@ class CallLogPagedDataSource(
|
||||
remaining -= callEvents.size
|
||||
}
|
||||
|
||||
if (start <= clearFilterStart && remaining > 0) {
|
||||
if (hasFilter && start <= clearFilterStart && remaining > 0) {
|
||||
callLogRows.add(CallLogRow.ClearFilter)
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ class V2FooterPositionDelegate private constructor(
|
||||
val (left, right) = if (bodyContainer.layoutDirection == View.LAYOUT_DIRECTION_LTR) {
|
||||
0 to horizontalPadding
|
||||
} else {
|
||||
horizontalPadding to 0
|
||||
horizontalPadding to 0
|
||||
}
|
||||
|
||||
body.padding(right = right, left = left, bottom = footerViews.first().measuredHeight)
|
||||
|
||||
Reference in New Issue
Block a user