fix kotlin mainactivity createPeer
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2022-12-11 15:14:05 -08:00
parent ff332dee9c
commit c498a0c86a
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ class MainActivity: FlutterActivity() {
"CreateProfile" -> { "CreateProfile" -> {
val nick: String = call.argument("nick") ?: "" val nick: String = call.argument("nick") ?: ""
val pass: String = call.argument("pass") ?: "" val pass: String = call.argument("pass") ?: ""
val autostart: Boolean = call.argument("autostart") ? true val autostart: Boolean = call.argument("autostart") ?: true
Cwtch.createProfile(nick, pass, autostart) Cwtch.createProfile(nick, pass, autostart)
} }
"LoadProfiles" -> { "LoadProfiles" -> {