feat: add Google Sheets data restoration

Implement data restoration functionality from Google Sheets, including repository methods to fetch custom foods and updated UI controls in the settings screen.
This commit is contained in:
bleackstorm committed 2026-11-08 20:38:08 +01:00
1 parent 79e04f64d8
commit 3397fc1c60
12 files changed
+1076 -99

No files matched your search

@@ -43,6 +43,7 @@ fun SettingsScreen(
onSyncSheetsClick: () -> Unit,
onAutoSyncSheetsChange: (Boolean) -> Unit,
onOpenSheetsClick: (String) -> Unit,
onRestoreSheetsClick: () -> Unit = {},
onSignInClick: () -> Unit,
onSignOut: () -> Unit,
modifier: Modifier = Modifier
@@ -94,7 +95,8 @@ fun SettingsScreen(
spreadsheetUrl = spreadsheetUrl,
onSyncSheetsClick = onSyncSheetsClick,
onAutoSyncSheetsChange = onAutoSyncSheetsChange,
onOpenSheetsClick = onOpenSheetsClick
onOpenSheetsClick = onOpenSheetsClick,
onRestoreSheetsClick = onRestoreSheetsClick
)
}