mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
show a placeholder message at the Dialpad activity, if nothing is found
This commit is contained in:
@ -199,6 +199,9 @@ class DialpadActivity : SimpleActivity() {
|
||||
}.apply {
|
||||
dialpad_list.adapter = this
|
||||
}
|
||||
|
||||
dialpad_placeholder.beVisibleIf(filtered.isEmpty())
|
||||
dialpad_list.beVisibleIf(filtered.isNotEmpty())
|
||||
}
|
||||
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, resultData: Intent?) {
|
||||
|
Reference in New Issue
Block a user