feat(sessions): Add confirmation prompt (#575)

Reopening of issue #572
Fixes issue #42
Translations added on PR 31 of revolt/translations

Co-authored-by: Paul Makles <paulmakles@gmail.com>
This commit is contained in:
Daesun
2022-05-07 16:31:53 -04:00
committed by GitHub
parent 93ba922536
commit ac0c100846
4 changed files with 66 additions and 15 deletions

View File

@@ -24,6 +24,7 @@ export type Screen =
| { id: "clipboard"; text: string }
| { id: "token_reveal"; token: string; username: string }
| { id: "external_link_prompt"; link: string }
| { id: "sessions", confirm: () => void }
| {
id: "_prompt";
question: Children;