Skip to content

Commit

Permalink
Remove debug for RemoteConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcibotari committed Jan 29, 2025
1 parent 823af7d commit e3e8edc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { MarkdownModule } from 'ngx-markdown';
import { provideHttpClient, withFetch, withInterceptorsFromDi } from '@angular/common/http';
import { MatIconRegistry } from '@angular/material/icon';
import { getAnalytics, provideAnalytics } from '@angular/fire/analytics';
import { provideRemoteConfig, getRemoteConfig, RemoteConfig, getAllChanges } from '@angular/fire/remote-config';
import { provideRemoteConfig, getRemoteConfig } from '@angular/fire/remote-config';

@NgModule({
declarations: [AppComponent],
Expand Down Expand Up @@ -126,11 +126,7 @@ import { provideRemoteConfig, getRemoteConfig, RemoteConfig, getAllChanges } fro
bootstrap: [AppComponent],
})
export class AppModule {
constructor(
private readonly iconRegistry: MatIconRegistry,
private readonly remoteConfig: RemoteConfig,
) {
constructor(private readonly iconRegistry: MatIconRegistry) {
iconRegistry.setDefaultFontSetClass('material-symbols-outlined');
getAllChanges(this.remoteConfig).subscribe(changes => console.log('RemoteConfig:changes', changes));
}
}

0 comments on commit e3e8edc

Please sign in to comment.