feat: implementata la doppia numerazione uniforme nel Player e il caricamento silente dei canti personalizzati
This commit is contained in:
@@ -57,7 +57,15 @@ export class ComunitaService {
|
||||
const savedCantiPersonali = localStorage.getItem('comunita-canti-personali');
|
||||
const savedFilterActive = localStorage.getItem('comunita-filter-active') === 'true';
|
||||
|
||||
if (savedCode) this.comunitaCode.set(savedCode);
|
||||
if (savedCode) {
|
||||
this.comunitaCode.set(savedCode);
|
||||
// Run background refresh 1 second after startup to fetch any new custom canti or updates
|
||||
setTimeout(() => {
|
||||
this.setComunitaCode(savedCode).catch(err => {
|
||||
console.warn('Failed background community refresh at startup:', err);
|
||||
});
|
||||
}, 1000);
|
||||
}
|
||||
if (savedNome) this.comunitaNome.set(savedNome);
|
||||
if (savedMail) this.comunitaMail.set(savedMail);
|
||||
if (savedCanti) {
|
||||
|
||||
Reference in New Issue
Block a user