mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-21 13:18:52 +01:00
Remove message on startup.
Removed message on startup, as it is acting unreliably, and is annoying to the user.
This commit is contained in:
@@ -246,15 +246,6 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
|
|||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
AndroidInjection.inject(this)
|
AndroidInjection.inject(this)
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
if (!isSpeechRecognitionAvailable()) {
|
|
||||||
try {
|
|
||||||
// Show a message when there is no STT provider
|
|
||||||
Toast.makeText(this, getString(R.string.stt_toast_no_provider), Toast.LENGTH_SHORT).show()
|
|
||||||
} catch (_: Exception) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
setContentView(R.layout.compose_activity)
|
setContentView(R.layout.compose_activity)
|
||||||
showBackButton(true)
|
showBackButton(true)
|
||||||
viewModel.bindView(this)
|
viewModel.bindView(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user