Change dataDir to data_dir to match Rust naming scheme

This commit is contained in:
KingRainbow44
2022-06-06 00:02:22 -04:00
parent 9ef816aad8
commit c571e23726

View File

@@ -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