Remove obsolete code

This commit is contained in:
Ming Ming 2021-07-03 17:11:18 +08:00
parent c2b06cfeb6
commit 296aa9a99f

View file

@ -125,13 +125,10 @@ class _RootPickerState extends State<RootPicker>
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
if (!ModalRoute.of(context).isFirst)
TextButton(
onPressed: () => _onSkipPressed(context),
child: Text(AppLocalizations.of(context).skipButtonLabel),
)
else
Container(),
TextButton(
onPressed: () => _onSkipPressed(context),
child: Text(AppLocalizations.of(context).skipButtonLabel),
),
ElevatedButton(
onPressed: () => _onConfirmPressed(context),
child: Text(AppLocalizations.of(context).confirmButtonLabel),