From a84b2f9f2f64b1d434c5adbb12af6f7d76ba42ea Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 16 Nov 2023 08:18:59 -0800 Subject: Close active elems (react-query refactor) (#1926) * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes --- src/state/models/ui/shell.ts | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/state/models/ui') diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts index 1631b8f9c..18287c953 100644 --- a/src/state/models/ui/shell.ts +++ b/src/state/models/ui/shell.ts @@ -21,19 +21,6 @@ export class ShellUiModel { this.setupLoginModals() } - /** - * returns true if something was closed - * (used by the android hardware back btn) - */ - closeAnyActiveElement(): boolean { - return false - } - - /** - * used to clear out any modals, eg for a navigation - */ - closeAllActiveElements() {} - setupLoginModals() { this.rootStore.onSessionReady(() => { if (shouldRequestEmailConfirmation(this.rootStore.session)) { -- cgit 1.4.1