summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-06-04 11:30:04 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-06-04 11:30:04 +0200
commit0555ab065946ae5ef350bca56bcaaa3188b67320 (patch)
treef6f13fca93ea3bf3d2cb4ac82fc80173a6064972 /gui/src/main
parent37f9da7e45995d0f78539c800a399c22e7e5f135 (diff)
downloadmullvadvpn-0555ab065946ae5ef350bca56bcaaa3188b67320.tar.xz
mullvadvpn-0555ab065946ae5ef350bca56bcaaa3188b67320.zip
Rename all usages of currentIsSupported to just supported
A few places were missed when renaming it a while ago. currentIsBeta has also been renamed for more consistent naming.
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index e905159bfb..d64ff7cf93 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -65,7 +65,7 @@ export interface ICurrentAppVersionInfo {
gui: string;
daemon: string;
isConsistent: boolean;
- currentIsBeta: boolean;
+ isBeta: boolean;
}
export interface IAppUpgradeInfo extends IAppVersionInfo {
@@ -138,7 +138,7 @@ class ApplicationMain {
daemon: '',
gui: '',
isConsistent: true,
- currentIsBeta: false,
+ isBeta: false,
};
private upgradeVersion: IAppUpgradeInfo = {
@@ -744,7 +744,7 @@ class ApplicationMain {
daemon: daemonVersion,
gui: guiVersion,
isConsistent: daemonVersion === guiVersion,
- currentIsBeta: guiVersion.includes('beta'),
+ isBeta: guiVersion.includes('beta'),
};
this.currentVersion = versionInfo;