Do not display clear filter when no filter is applied in call log.

This commit is contained in:
Alex Hart
2023-09-12 10:58:39 -03:00
parent ea52bbea42
commit cf7455c661
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class CallLogPagedDataSource(
remaining -= callEvents.size
}
if (start <= clearFilterStart && remaining > 0) {
if (hasFilter && start <= clearFilterStart && remaining > 0) {
callLogRows.add(CallLogRow.ClearFilter)
}