From 7c2d1e8c64ff098cf9d953db0c764161055fc62d Mon Sep 17 00:00:00 2001 From: Alystrasz Date: Mon, 26 Sep 2022 18:40:15 +0200 Subject: refactor: rename northstar version method --- src-vue/src/plugins/store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 0d5d8893..4bb48f66 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -47,7 +47,7 @@ async function _initializeApp(state: any) { state.game_path = result.game_path; // Check installed Northstar version if found - await _get_northstar_version_number_and_set_button_accordingly(state); + await _get_northstar_version_number(state); } // TODO @@ -76,7 +76,7 @@ function _initializeListeners(state: any) { * This retrieves Northstar version tag, and stores it in application * state, for it to be displayed in UI. */ -async function _get_northstar_version_number_and_set_button_accordingly(state: any) { +async function _get_northstar_version_number(state: any) { let northstar_version_number: string = await invoke("get_northstar_version_number_caller", { gamePath: state.game_path }); if (northstar_version_number && northstar_version_number.length > 0) { state.installed_northstar_version = northstar_version_number; -- cgit v1.2.3