Add WIP 'report account' modal
This commit is contained in:
parent
66a0f8e848
commit
69b86255c6
4 changed files with 127 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue