save profile.autostart on create #598

Merged
sarah merged 3 commits from saveAutostart into trunk 2022-12-12 02:54:33 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c498a0c86a - Show all commits

View File

@ -358,7 +358,7 @@ class MainActivity: FlutterActivity() {
"CreateProfile" -> {
val nick: String = call.argument("nick") ?: ""
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)
}
"LoadProfiles" -> {