refact: macos, update, preparing for installation (#12581)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
39b91911cb
commit
6bc3b38b56
47 changed files with 49 additions and 2 deletions
|
|
@ -28,8 +28,9 @@ void handleUpdate(String releasePageUrl) {
|
|||
gFFI.dialogManager.dismissAll();
|
||||
gFFI.dialogManager.show((setState, close, context) {
|
||||
return CustomAlertDialog(
|
||||
title: Obx(() => Text(translate(
|
||||
_isExtracting.isTrue ? 'Installing ...' : 'Downloading {$appName}'))),
|
||||
title: Obx(() => Text(translate(_isExtracting.isTrue
|
||||
? 'Preparing for installation ...'
|
||||
: 'Downloading {$appName}'))),
|
||||
content:
|
||||
UpdateProgress(releasePageUrl, downloadUrl, downloadId, onCanceled)
|
||||
.marginSymmetric(horizontal: 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue