mirror of
https://github.com/bleackstorm/satiea.git
synced 2026-12-03 07:41:56 +01:00
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:
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
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user