onIdentityChanged method
- UserId me
override
Handles identity changes to the provided UserId.
Implementation
@override
void onIdentityChanged(UserId me) {
super.onIdentityChanged(me);
if (_authService.userId.isLocal) {
_scheduleSupport();
opacity.value = 1;
page.value = null;
} else {
switch (page.value) {
case IntroductionStage.accountCreated ||
IntroductionStage.accountCreating ||
IntroductionStage.guestCreated:
// No-op.
break;
default:
dismiss();
break;
}
}
}