mirror of
https://github.com/csd4ni3l/soundboard.git
synced 2026-03-10 17:19:24 +01:00
fix tabs.length to tabs.len
This commit is contained in:
@@ -71,7 +71,7 @@ fn load_data(app_state: &mut AppState) {
|
||||
let tabs = app_state.json_data.tabs.clone();
|
||||
app_state.loaded_files.clear();
|
||||
|
||||
if tabs.length() > 0 {
|
||||
if tabs.len() > 0 {
|
||||
app_state.current_directory = tabs[0].clone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user