feat: implementata la doppia numerazione uniforme nel Player e il caricamento silente dei canti personalizzati

This commit is contained in:
David Frassi
2026-05-20 12:27:10 +02:00
parent 2a150d481a
commit 92325df48b
4 changed files with 27 additions and 6 deletions
+11 -1
View File
@@ -57,7 +57,17 @@ export class SettingsPage {
console.error('Failed to refresh liturgical readings:', err);
}
// 2. Check for Service Worker updates
// 3. Refresh community data if a code is active
const comunitaCode = this.comunitaService.comunitaCode();
if (comunitaCode) {
try {
await this.comunitaService.setComunitaCode(comunitaCode);
} catch (err) {
console.error('Failed to refresh community data:', err);
}
}
// 4. Check for Service Worker updates
if (this.swUpdate.isEnabled) {
try {
const updateFound = await this.swUpdate.checkForUpdate();