diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt index b7123aa7..7d0d6e2c 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt @@ -106,6 +106,14 @@ class HomeFragment : Fragment() { return rootView } + override fun onResume() { + super.onResume() + + if (this::mnitmSearchTransactions.isInitialized) { // restore displayed transactions after onStop() + updateMenuItemsStateAndTransactionsToDisplay() + } + } + override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) { super.onCreateOptionsMenu(menu, inflater)