mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
fix(mode): use mode presets
This commit is contained in:
@ -15,4 +15,4 @@ Context.config = createConfigController(
|
||||
|
||||
// get the mode via config settings and set it to
|
||||
// both Ionic and the Core global
|
||||
Context.mode = Context.config.get('mode', 'md');
|
||||
Context.mode = Context.mode || Context.config.get('mode', 'md');
|
||||
|
Reference in New Issue
Block a user