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", "update",
mapOf( mapOf(
"progress" to -100.0, "progress" to -100.0,
"header" to "Aborting...", "header" to "Aborted...",
"log" to "An error occurred! Aborting\nError:\n$stack" "log" to "An error occurred! Aborted\nError:\n$stack"
) )
) )
} }

View file

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