Quick chat

This commit is contained in:
Douile 2022-08-09 15:26:52 +01:00
parent e9113f1a8f
commit ed88170c42
No known key found for this signature in database
GPG key ID: DC9D70626CEF33D0
6 changed files with 86 additions and 5 deletions

View file

@ -1070,6 +1070,15 @@ class MainActivity : BaseActivity(), Logging,
chooseMapStyle()
return true
}
R.id.prefernces_quick_chat -> {
val fragmentManager: FragmentManager = supportFragmentManager
val fragmentTransaction: FragmentTransaction = fragmentManager.beginTransaction()
val nameFragment = QuickChatSettingsFragment()
fragmentTransaction.add(R.id.mainActivityLayout, nameFragment)
fragmentTransaction.addToBackStack(null)
fragmentTransaction.commit()
return true
}
else -> super.onOptionsItemSelected(item)
}
}