Skip to content

Commit

Permalink
whattheduck: Show version name
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Nov 14, 2024
1 parent 40c900c commit 40521f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/whattheduck/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,10 @@ const router = useRouter();
AppUpdate.getAppUpdateInfo()
.then(async (result) => {
currentAppVersion.value = result.currentVersionName;
if (Capacitor.getPlatform() === 'android') {
currentAppVersion.value = result.currentVersionCode;
storeName.value = 'Play Store';
} else {
currentAppVersion.value = result.currentVersionName;
storeName.value = 'App Store';
}
currentBundleVersion.value = (await CapacitorUpdater.current())?.bundle.version;
Expand Down

0 comments on commit 40521f3

Please sign in to comment.