Remove unnecessary attribute
This commit is contained in:
parent
737e9742c1
commit
f32b65aa32
|
@ -217,7 +217,7 @@ class _PasswordEntryPageState extends State<PasswordEntryPage> {
|
|||
showDialog(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return RecoveryKeyDialog(result, widget.isUpdatePassword, onDone);
|
||||
return RecoveryKeyDialog(result, onDone);
|
||||
},
|
||||
barrierColor: Colors.black.withOpacity(0.85),
|
||||
barrierDismissible: false,
|
||||
|
|
|
@ -11,11 +11,9 @@ import 'dart:io' as io;
|
|||
|
||||
class RecoveryKeyDialog extends StatefulWidget {
|
||||
final KeyGenResult result;
|
||||
final bool isUpdatePassword;
|
||||
final Function() onDone;
|
||||
|
||||
RecoveryKeyDialog(this.result, this.isUpdatePassword, this.onDone, {Key key})
|
||||
: super(key: key);
|
||||
RecoveryKeyDialog(this.result, this.onDone, {Key key}) : super(key: key);
|
||||
|
||||
@override
|
||||
_RecoveryKeyDialogState createState() => _RecoveryKeyDialogState();
|
||||
|
|
Loading…
Reference in a new issue