Add HorzSwipe gesture and integrate it into the ViewSelector
This commit is contained in:
parent
79d5708b69
commit
9ce02dff5b
6 changed files with 191 additions and 109 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue