refactor: Migrate routes to go router
This commit is contained in:
parent
739edde729
commit
ee957ab1f6
52 changed files with 584 additions and 612 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue