Add window persistence across app restarts

This commit is contained in:
James Babcock committed 2026-08-01 15:27:44 -07:00
1 parent 02c09ef889
commit 37e95627b1
4 files changed
+127

No files matched your search

+3
View File
@@ -98,6 +98,9 @@ export function loaded(args: EventData) {
// Automatically connect on reaching the main page (no-op if already
// connected or if no glasses are configured).
void model?.autoConnect()
// Reopen the apps that were open before the last restart (no-op after the
// first load).
void dashboardController.restoreOpenApps()
const scrollViews = [
page.getViewById<ScrollView>('logScrollView'),
page.getViewById<ScrollView>('logScrollViewLandscape'),