mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-05 14:43:58 +01: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