mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(hardwareBackButton): added missing import of hardware back button… (#18794)
This commit is contained in:
@ -15,15 +15,19 @@ export class App implements ComponentInterface {
|
||||
|
||||
componentDidLoad() {
|
||||
rIC(() => {
|
||||
const isHybrid = isPlatform(window, 'hybrid');
|
||||
if (!config.getBoolean('_testing')) {
|
||||
import('../../utils/tap-click').then(module => module.startTapClick(config));
|
||||
}
|
||||
if (config.getBoolean('statusTap', isPlatform(window, 'hybrid'))) {
|
||||
if (config.getBoolean('statusTap', isHybrid)) {
|
||||
import('../../utils/status-tap').then(module => module.startStatusTap());
|
||||
}
|
||||
if (config.getBoolean('inputShims', needInputShims())) {
|
||||
import('../../utils/input-shims/input-shims').then(module => module.startInputShims(config));
|
||||
}
|
||||
if (config.getBoolean('hardwareBackButton', isHybrid)) {
|
||||
import('../../utils/hardware-back-button').then(module => module.startHardwareBackButton());
|
||||
}
|
||||
import('../../utils/focus-visible').then(module => module.startFocusVisible());
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user