I've been creating a very small app with a menu some chips and a searchbar. But the problem is that I have forced MD theme in all app as you can see here:
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [
BrowserModule,
IonicModule.forRoot(
{
mode: 'md'
}
),
AppRoutingModule,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
}
})
],
providers: [
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
],
bootstrap: [AppComponent],
})
export class AppModule { }
But in android it keeps seeing like this even android is Light Mode:
So anyone knows why it is always displaying in dark mode and how to fix it? I want the mobile devices to switch from dark to light when system is in that mode not only dark.