refactor: make install as non root default.

This commit is contained in:
Aunali321 2022-09-09 18:47:30 +05:30
parent f55ec6a941
commit fe13234faa

View File

@ -105,10 +105,10 @@ class InstallerView extends StatelessWidget {
visible: !model.isInstalled,
child: CustomMaterialButton(
isFilled: false,
label:
I18nText('installerView.installButton'),
label: I18nText(
'installerView.installRootButton'),
isExpanded: true,
onPressed: () => model.installResult(false),
onPressed: () => model.installResult(true),
),
),
Visibility(
@ -120,10 +120,10 @@ class InstallerView extends StatelessWidget {
Visibility(
visible: !model.isInstalled,
child: CustomMaterialButton(
label: I18nText(
'installerView.installRootButton'),
label:
I18nText('installerView.installButton'),
isExpanded: true,
onPressed: () => model.installResult(true),
onPressed: () => model.installResult(false),
),
),
],