Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f45c5024 authored by r.zarchi's avatar r.zarchi Committed by cketti
Browse files

searchEnabled set to false when expanding the search view after the rotate

parent 33e4d081
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ class GeneralSettingsActivity : K9Activity(), OnPreferenceStartScreenCallback, S
                searchPreferenceMenuItem.expandActionView()
                searchPreferenceActionView.setQuery(searchQuery, false)
            }
            // searchEnabled should be set to false because it caused to expand the search view again
            // when we click on any item after each rotation
            searchEnabled = false
        }
        return true
    }