made 'Cancel' and 'Ok' in enter password dialog box visibile in light theme
This commit is contained in:
parent
9b23cbaa2f
commit
97b8f23603
|
@ -370,23 +370,15 @@ class _ManageSharedLinkWidgetState extends State<ManageSharedLinkWidget> {
|
|||
),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: Text(
|
||||
'Cancel',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
child: Text('Cancel',
|
||||
style: Theme.of(context).textTheme.subtitle2),
|
||||
onPressed: () {
|
||||
Navigator.pop(context, 'cancel');
|
||||
},
|
||||
),
|
||||
TextButton(
|
||||
child: Text(
|
||||
'ok',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
child:
|
||||
Text('Ok', style: Theme.of(context).textTheme.subtitle2),
|
||||
onPressed: () {
|
||||
if (_textFieldController.text.trim().isEmpty) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue