about summary refs log tree commit diff
path: root/src/state/models/ui/shell.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-08 09:46:07 -0800
committerGitHub <noreply@github.com>2023-11-08 09:46:07 -0800
commit5eadadffbf5475b233da7b1463e2345ff3e3cfce (patch)
treeaf3dd9f05a6eab919515b7de965a1fea51ad346b /src/state/models/ui/shell.ts
parent5843e212c0ebbfc6c3831929bbbaa72e1a289aba (diff)
downloadvoidsky-5eadadffbf5475b233da7b1463e2345ff3e3cfce.tar.zst
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
Diffstat (limited to 'src/state/models/ui/shell.ts')
-rw-r--r--src/state/models/ui/shell.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts
index 343fff86d..b5fa4e591 100644
--- a/src/state/models/ui/shell.ts
+++ b/src/state/models/ui/shell.ts
@@ -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()
       }