Handle data reset with cloud sync
The prompt requests clarification on whether data reset should also delete cloud data when the user is logged in.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
import { isSyncEnabled, setSyncEnabled, getLastSyncTime, setLastSyncTime, initSyncSettings } from './sync/syncSettings';
|
||||
import { uploadTransactions, downloadTransactions, deleteTransactionFromServer } from './sync/transactionSync';
|
||||
import { uploadBudgets, downloadBudgets } from './sync/budget';
|
||||
import { clearCloudData } from './sync/clearCloudData';
|
||||
|
||||
// Export all utility functions to maintain the same public API
|
||||
export {
|
||||
@@ -14,7 +14,8 @@ export {
|
||||
downloadBudgets,
|
||||
getLastSyncTime,
|
||||
setLastSyncTime,
|
||||
initSyncSettings
|
||||
initSyncSettings,
|
||||
clearCloudData
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user