Route UI state save through platform services

This commit is contained in:
2026-06-04 16:48:57 +02:00
parent 7d992931d9
commit dc369c89b0
11 changed files with 47 additions and 12 deletions

View File

@@ -1679,13 +1679,7 @@ void App::ui_save()
Settings::set("ui", d);
Settings::set("ui-rtl", Serializer::Boolean(ui_rtl));
#if _WIN32
extern void win32_save_window_state();
win32_save_window_state();
#elif __OSX__
[osx_app save_ui_state];
#endif
save_platform_ui_state();
Settings::save();
}