From c571e23726b663546b0d0e908ccda4c2defb84fb Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Mon, 6 Jun 2022 00:02:22 -0400 Subject: [PATCH] Change `dataDir` to `data_dir` to match Rust naming scheme --- src/utils/themes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/themes.ts b/src/utils/themes.ts index e0c3309..24f9d44 100644 --- a/src/utils/themes.ts +++ b/src/utils/themes.ts @@ -39,7 +39,7 @@ const defaultTheme = { export async function getThemeList() { // Do some invoke to backend to get the theme list const themes = await invoke('get_theme_list', { - dataDir: `${await dataDir()}/cultivation` + data_dir: `${await dataDir()}/cultivation` }) as BackendThemeList[] const list: ThemeList[] = [ // ALWAYS include default theme