Release 1.0.3: refine tablet layouts, pointer selection and account sync cleanup
Build iOS / build (push) Successful in 4m45s
Build App Bundle / build (push) Successful in 7m7s

This commit is contained in:
Ayushya Amitabh
2026-10-09 00:36:42 -04:00
parent 79085874a1
commit 0a4608e6c3
67 changed files with 1740 additions and 451 deletions
+12 -1
View File
@@ -132,6 +132,14 @@ class SyncService {
}
}
/// Deletes the removed account's mirror and native sync state after stopping
/// its runs. Await before forgetting the account so cleanup failures can retry.
static Future<void> removeAccountData(String accountId) async {
await invokeIfAvailable(_channel, 'removeAccountData', {
'accountId': accountId,
});
}
static String _basicAuth(SavedAccount account, String password) =>
'Basic ${base64Encode(utf8.encode('${account.username}:$password'))}';
@@ -143,7 +151,10 @@ class SyncService {
/// background job is being turned off - the account's paths are still
/// synced by hand ("Sync now"), and a conflict notification's actions
/// still need its credentials.
static Future<void> cancelAccount(String accountId, {bool forget = true}) async {
static Future<void> cancelAccount(
String accountId, {
bool forget = true,
}) async {
await invokeIfAvailable(_channel, 'cancel', {
'accountId': accountId,
'forget': forget,