Fix the mechanical lint groups and delete the unused bindings. [skip build]
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ export const withViewTransition = async (callback: () => void | Promise<void>):
|
||||
});
|
||||
|
||||
await transition.finished;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Fallback if transition fails
|
||||
await callback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user