mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
fix: Only show share and install options if patching was successful
This commit is contained in:
parent
a3c14e0a51
commit
3bb5e70d1c
10 changed files with 23 additions and 21 deletions
|
@ -100,7 +100,7 @@ class SettingsViewModel extends BaseViewModel {
|
|||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
title: Row(
|
||||
children: [
|
||||
children: <Widget>[
|
||||
I18nText('settingsView.sourcesLabel'),
|
||||
const Spacer(),
|
||||
IconButton(
|
||||
|
@ -160,7 +160,7 @@ class SettingsViewModel extends BaseViewModel {
|
|||
],
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
actions: <Widget>[
|
||||
CustomMaterialButton(
|
||||
isFilled: false,
|
||||
label: I18nText('cancelButton'),
|
||||
|
@ -196,7 +196,7 @@ class SettingsViewModel extends BaseViewModel {
|
|||
title: I18nText('settingsView.sourcesResetDialogTitle'),
|
||||
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
|
||||
content: I18nText('settingsView.sourcesResetDialogText'),
|
||||
actions: [
|
||||
actions: <Widget>[
|
||||
CustomMaterialButton(
|
||||
isFilled: false,
|
||||
label: I18nText('cancelButton'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue