hide the keyboard at launching Settings

This commit is contained in:
tibbi 2022-02-09 20:24:35 +01:00
parent cc484ca0d6
commit 5e1d5dfca2
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class MainActivity : SimpleActivity() {
private fun getInactiveTabIndex() = if (view_pager.currentItem == 0) 1 else 0 private fun getInactiveTabIndex() = if (view_pager.currentItem == 0) 1 else 0
private fun launchSettings() { private fun launchSettings() {
hideKeyboard()
startActivity(Intent(applicationContext, SettingsActivity::class.java)) startActivity(Intent(applicationContext, SettingsActivity::class.java))
} }