mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-20 16:58:44 +02:00
fix nullable intent
This commit is contained in:
@@ -44,9 +44,9 @@ class MainActivity: FlutterActivity() {
|
||||
}
|
||||
|
||||
internal fun handleSendText(intent:Intent) {
|
||||
val text:String = intent.getStringExtra(Intent.EXTRA_TEXT)
|
||||
val text:String? = intent.getStringExtra(Intent.EXTRA_TEXT)
|
||||
if (initialIntentSet == false) {
|
||||
initialIntentText = text
|
||||
initialIntentText = text ?: "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user