fix: aborting message changed (#928)

Change aborting message from "aborting..." to "aborted..."

----------------------
Co-authored-by: Ushie <github@ushie.dev>
Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
Yaros 2023-06-09 12:34:55 +02:00 committed by GitHub
parent e43dfb7599
commit f01b8e47aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -271,8 +271,8 @@ class MainActivity : FlutterActivity() {
"update",
mapOf(
"progress" to -100.0,
"header" to "Aborting...",
"log" to "An error occurred! Aborting\nError:\n$stack"
"header" to "Aborted...",
"log" to "An error occurred! Aborted\nError:\n$stack"
)
)
}

View File

@ -135,15 +135,15 @@ class InstallerViewModel extends BaseViewModel {
} on Exception catch (e) {
update(
-100.0,
'Aborting...',
'An error occurred! Aborting\nError:\n$e',
'Aborted...',
'An error occurred! Aborted\nError:\n$e',
);
if (kDebugMode) {
print(e);
}
}
} else {
update(-100.0, 'Aborting...', 'No app or patches selected! Aborting');
update(-100.0, 'Aborted...', 'No app or patches selected! Aborted');
}
if (FlutterBackground.isBackgroundExecutionEnabled) {
try {