Add WIP 'report account' modal

This commit is contained in:
Paul Frazee 2022-12-18 17:45:23 -06:00
parent 66a0f8e848
commit 69b86255c6
4 changed files with 127 additions and 4 deletions

View file

@ -59,6 +59,14 @@ export class ReportPostModal {
}
}
export class ReportAccountModal {
name = 'report-account'
constructor(public did: string) {
makeAutoObservable(this)
}
}
interface LightboxModel {
canSwipeLeft: boolean
canSwipeRight: boolean
@ -136,6 +144,7 @@ export class ShellUiModel {
| CreateSceneModal
| ServerInputModal
| ReportPostModal
| ReportAccountModal
| undefined
isLightboxActive = false
activeLightbox:
@ -164,7 +173,8 @@ export class ShellUiModel {
| EditProfileModal
| CreateSceneModal
| ServerInputModal
| ReportPostModal,
| ReportPostModal
| ReportAccountModal,
) {
this.isModalActive = true
this.activeModal = modal