diff options
Diffstat (limited to 'src/state/models/shell-ui.ts')
-rw-r--r-- | src/state/models/shell-ui.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/models/shell-ui.ts b/src/state/models/shell-ui.ts index fa8e3c18f..b3fe5104f 100644 --- a/src/state/models/shell-ui.ts +++ b/src/state/models/shell-ui.ts @@ -66,6 +66,7 @@ export interface ComposerOpts { } export class ShellUiModel { + isViewControllingSwipes = false isModalActive = false activeModal: | ConfirmModel @@ -80,6 +81,10 @@ export class ShellUiModel { makeAutoObservable(this) } + setViewControllingSwipes(v: boolean) { + this.isViewControllingSwipes = v + } + openModal( modal: | ConfirmModel |