mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
refactor: make install as non root default.
This commit is contained in:
parent
f55ec6a941
commit
fe13234faa
@ -105,10 +105,10 @@ class InstallerView extends StatelessWidget {
|
|||||||
visible: !model.isInstalled,
|
visible: !model.isInstalled,
|
||||||
child: CustomMaterialButton(
|
child: CustomMaterialButton(
|
||||||
isFilled: false,
|
isFilled: false,
|
||||||
label:
|
label: I18nText(
|
||||||
I18nText('installerView.installButton'),
|
'installerView.installRootButton'),
|
||||||
isExpanded: true,
|
isExpanded: true,
|
||||||
onPressed: () => model.installResult(false),
|
onPressed: () => model.installResult(true),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
@ -120,10 +120,10 @@ class InstallerView extends StatelessWidget {
|
|||||||
Visibility(
|
Visibility(
|
||||||
visible: !model.isInstalled,
|
visible: !model.isInstalled,
|
||||||
child: CustomMaterialButton(
|
child: CustomMaterialButton(
|
||||||
label: I18nText(
|
label:
|
||||||
'installerView.installRootButton'),
|
I18nText('installerView.installButton'),
|
||||||
isExpanded: true,
|
isExpanded: true,
|
||||||
onPressed: () => model.installResult(true),
|
onPressed: () => model.installResult(false),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user