Fix the mechanical lint groups and delete the unused bindings. [skip build]
Checks / checks (push) Successful in 2m12s
Trigger cinny-mobile / dispatch (push) Successful in 2s

This commit is contained in:
2026-11-01 20:31:21 +11:00
parent 593dd3bdf3
commit 5477242661
26 changed files with 95 additions and 161 deletions
+4 -2
View File
@@ -410,7 +410,7 @@ class AndroidUnifiedPushManager {
if (!client) return;
const { registerPlugin } = await loadCapacitorCore();
const MatrixBackgroundSync = registerPlugin<MatrixBackgroundSyncPlugin>('MatrixBackgroundSync');
registerPlugin<MatrixBackgroundSyncPlugin>('MatrixBackgroundSync');
const status = await this.safeGetStatus();
console.log('[BackgroundSync] Native status before pusher sync:', status);
@@ -574,7 +574,9 @@ export const requestResetPushRegistration = async (): Promise<{ success: boolean
// Endpoint arrives asynchronously from the distributor after register().
for (let i = 0; i < 40; i += 1) {
await new Promise((resolve) => setTimeout(resolve, 250));
await new Promise((resolve) => {
setTimeout(resolve, 250);
});
const status = await getBackgroundSyncStatus();
if (status?.registered && status.endpoint) {
return { success: true };
+1 -1
View File
@@ -58,7 +58,7 @@ export const setupCopyHandler = (
}
textNode = walker.nextNode();
}
} catch (e) {
} catch {
// Fallback: check if selection contains the content element
isSelected = selection.containsNode(contentEl, true);
}
+1 -1
View File
@@ -31,7 +31,7 @@ export const withViewTransition = async (callback: () => void | Promise<void>):
});
await transition.finished;
} catch (error) {
} catch {
// Fallback if transition fails
await callback();
}