mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-21 18:23:57 +00:00
Compare commits
3 Commits
v1.19.0-de
...
v1.19.0-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4dea6e58c | ||
|
|
c72d10ac85 | ||
|
|
3e696d6847 |
@@ -30,7 +30,8 @@ class InstallerView extends StatelessWidget {
|
|||||||
bottom: model.isPatching,
|
bottom: model.isPatching,
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
floatingActionButton: Visibility(
|
floatingActionButton: Visibility(
|
||||||
visible: !model.isPatching && !model.hasErrors,
|
visible:
|
||||||
|
!model.isPatching && !model.hasErrors && !model.isInstalling,
|
||||||
child: HapticFloatingActionButtonExtended(
|
child: HapticFloatingActionButtonExtended(
|
||||||
label: Text(
|
label: Text(
|
||||||
model.isInstalled
|
model.isInstalled
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
String headerLogs = '';
|
String headerLogs = '';
|
||||||
bool isRooted = false;
|
bool isRooted = false;
|
||||||
bool isPatching = true;
|
bool isPatching = true;
|
||||||
|
bool isInstalling = false;
|
||||||
bool isInstalled = false;
|
bool isInstalled = false;
|
||||||
bool hasErrors = false;
|
bool hasErrors = false;
|
||||||
bool isCanceled = false;
|
bool isCanceled = false;
|
||||||
@@ -437,6 +438,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<void> installResult(BuildContext context, bool installAsRoot) async {
|
Future<void> installResult(BuildContext context, bool installAsRoot) async {
|
||||||
|
isInstalling = true;
|
||||||
try {
|
try {
|
||||||
_app.isRooted = installAsRoot;
|
_app.isRooted = installAsRoot;
|
||||||
if (headerLogs != 'Installing...') {
|
if (headerLogs != 'Installing...') {
|
||||||
@@ -486,6 +488,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
print(e);
|
print(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
isInstalling = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void exportResult() {
|
void exportResult() {
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ class _InstalledAppItemState extends State<InstalledAppItem> {
|
|||||||
Text(
|
Text(
|
||||||
t.suggested(
|
t.suggested(
|
||||||
version: widget.suggestedVersion.isEmpty
|
version: widget.suggestedVersion.isEmpty
|
||||||
? Text(t.appSelectorCard.anyVersion)
|
? t.appSelectorCard.anyVersion
|
||||||
: 'v${widget.suggestedVersion}',
|
: 'v${widget.suggestedVersion}',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager
|
|||||||
|
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.19.0-dev.15+101900015
|
version: 1.19.0-dev.16+101900016
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user