refactor: Migrate routes to go router

This commit is contained in:
krille-chan 2023-08-07 18:40:02 +02:00
commit ee957ab1f6
No known key found for this signature in database
52 changed files with 584 additions and 612 deletions

View file

@ -108,10 +108,10 @@ class KeyVerificationPageState extends State<KeyVerificationDialog> {
var title = Text(L10n.of(context)!.verifyTitle);
Widget body;
final buttons = <Widget>[];
switch (widget.request.state) {
case KeyVerificationState.showQRSuccess:
case KeyVerificationState.confirmQRScan:
case KeyVerificationState.askChoice:
throw 'Not implemented';
case KeyVerificationState.askSSSS:
// prompt the user for their ssss passphrase / key
@ -200,6 +200,7 @@ class KeyVerificationPageState extends State<KeyVerificationDialog> {
),
);
break;
case KeyVerificationState.askChoice:
case KeyVerificationState.waitingAccept:
body = Center(
child: Column(