Add HorzSwipe gesture and integrate it into the ViewSelector
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user