mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
back-button: use updated config
This commit is contained in:
@ -44,7 +44,7 @@ class PlatformController {
|
||||
detect() {
|
||||
for (let name in this.registry) {
|
||||
if (this.registry[name].matcher()) {
|
||||
return platform
|
||||
return this.registry[name]
|
||||
}
|
||||
}
|
||||
return this.defaultPlatform
|
||||
@ -74,7 +74,7 @@ platform.register({
|
||||
|
||||
// Last case is a catch-all
|
||||
platform.setDefaultPlatform({
|
||||
name: 'default'
|
||||
name: 'base'
|
||||
})
|
||||
|
||||
platform.set( platform.detect() )
|
||||
|
Reference in New Issue
Block a user