From 8aa0019ceba0e2525dbf76e1be4256e58b13ae4a Mon Sep 17 00:00:00 2001 From: merkost Date: Wed, 19 Jul 2023 16:18:03 +1000 Subject: [PATCH] Added refreshing menu items on view type changed --- .../simplemobiletools/contacts/pro/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt index 976c58ba..577a97c7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt @@ -686,6 +686,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener { private fun changeViewType() { ChangeViewTypeDialog(this) { + refreshMenuItems() favorites_fragment?.updateFavoritesColumnCount() } }