mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
Change dataDir to data_dir to match Rust naming scheme
This commit is contained in:
@@ -39,7 +39,7 @@ const defaultTheme = {
|
|||||||
export async function getThemeList() {
|
export async function getThemeList() {
|
||||||
// Do some invoke to backend to get the theme list
|
// Do some invoke to backend to get the theme list
|
||||||
const themes = await invoke('get_theme_list', {
|
const themes = await invoke('get_theme_list', {
|
||||||
dataDir: `${await dataDir()}/cultivation`
|
data_dir: `${await dataDir()}/cultivation`
|
||||||
}) as BackendThemeList[]
|
}) as BackendThemeList[]
|
||||||
const list: ThemeList[] = [
|
const list: ThemeList[] = [
|
||||||
// ALWAYS include default theme
|
// ALWAYS include default theme
|
||||||
|
|||||||
Reference in New Issue
Block a user