mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-10 20:52:12 +09:00
fix(app): show Linux update wording only for Linux packages
This commit is contained in:
+2
-1
@@ -148,7 +148,7 @@ export const UpdaterIcon = observer(() => {
|
||||
: i18n._(DOWNLOADING_UPDATE_2_DESCRIPTOR, {percent});
|
||||
}
|
||||
if (Platform.isElectron && (store.nativeAwaitingDownload || store.nativeManualUpdateAvailable)) {
|
||||
if (store.nativeManualUpdateAvailable) {
|
||||
if (store.nativeManualUpdateAvailable && store.nativeManualDownloadOptions.length > 0) {
|
||||
return version ? i18n._(CHOOSE_LINUX_PACKAGE_DESCRIPTOR, {version}) : i18n._(CHOOSE_LINUX_PACKAGE_2_DESCRIPTOR);
|
||||
}
|
||||
const size = store.updateInfo.native.downloadSize;
|
||||
@@ -176,6 +176,7 @@ export const UpdaterIcon = observer(() => {
|
||||
store.nativeAwaitingDownload,
|
||||
store.nativeDownloadInFlight,
|
||||
store.nativeDownloadProgressSupported,
|
||||
store.nativeManualDownloadOptions,
|
||||
store.nativeManualUpdateAvailable,
|
||||
store.nativeUpdateReady,
|
||||
store.updateInfo.native.downloadSize,
|
||||
|
||||
Reference in New Issue
Block a user