State layer cleanup: move alt-text-required into preferences and fix a bug in reminders (#1845)
* Move alt-text-required into preferences * Fix bug: reminders now using new onboarding state
This commit is contained in:
parent
5843e212c0
commit
5eadadffbf
8 changed files with 21 additions and 29 deletions
|
|
@ -362,12 +362,7 @@ export class ShellUiModel {
|
|||
|
||||
setupLoginModals() {
|
||||
this.rootStore.onSessionReady(() => {
|
||||
if (
|
||||
shouldRequestEmailConfirmation(
|
||||
this.rootStore.session,
|
||||
this.rootStore.onboarding,
|
||||
)
|
||||
) {
|
||||
if (shouldRequestEmailConfirmation(this.rootStore.session)) {
|
||||
this.openModal({name: 'verify-email', showReminder: true})
|
||||
setEmailConfirmationRequested()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue