Skip to content

Commit

Permalink
Update how we subscribe to app events
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jun 21, 2024
1 parent fc9a764 commit 302afc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ class MainActivity : FlutterActivity(), MethodChannel.MethodCallHandler,
fetch { loconf -> runOnUiThread { processLoconf(loconf) } }
}

fun onInitializingAccount(status: AccountInitializationStatus) {
fun onInitializingAccount(status: AccountInitializationStatus.Status) {
val appName = getString(R.string.app_name)

when (status.status) {
when (status) {
AccountInitializationStatus.Status.PROCESSING -> {
accountInitDialog = AlertDialog.Builder(this).create()
accountInitDialog?.setCancelable(false)
Expand Down

0 comments on commit 302afc1

Please # to comment.