mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-07 15:38:43 +01:00
7ef692c2c8
Previous code always focused the search query. This meant that if the user: 1. Searched for something 2. Opened a result (post, hashtag, account) 3. Navigated back to the search results then because the query was focused the soft-keyboard would open, obscuring the list of results. The user had to press "Back" again to dismiss the keyboard. New code only focuses the search query view if it is empty. This allows the user to come back to the list of results and immediately open a new result.