forked from upstream-mirrors/quik
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?) {
|
||||
AndroidInjection.inject(this)
|
||||
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)
|
||||
showBackButton(true)
|
||||
viewModel.bindView(this)
|
||||
|
||||
Reference in New Issue
Block a user