From ddef0b5520a94d5c6d62d3b4706757ca8412badf Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 6 Aug 2018 15:36:19 +0200 Subject: [PATCH] MOBILE-2545 ios: Display keyboard accessory bar --- src/app/app.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 02a7049cf..c0fa54605 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -21,6 +21,7 @@ import { CoreLangProvider } from '@providers/lang'; import { CoreLoggerProvider } from '@providers/logger'; import { CoreSitesProvider } from '@providers/sites'; import { CoreLoginHelperProvider } from '@core/login/providers/helper'; +import { Keyboard } from '@ionic-native/keyboard'; @Component({ templateUrl: 'app.html' @@ -32,7 +33,7 @@ export class MoodleMobileApp implements OnInit { protected logger; protected lastUrls = {}; - constructor(private platform: Platform, statusBar: StatusBar, logger: CoreLoggerProvider, + constructor(private platform: Platform, statusBar: StatusBar, logger: CoreLoggerProvider, keyboard: Keyboard, private eventsProvider: CoreEventsProvider, private loginHelper: CoreLoginHelperProvider, private zone: NgZone, private appProvider: CoreAppProvider, private langProvider: CoreLangProvider, private sitesProvider: CoreSitesProvider) { this.logger = logger.getInstance('AppComponent'); @@ -45,6 +46,8 @@ export class MoodleMobileApp implements OnInit { } else { statusBar.styleDefault(); } + + keyboard.hideKeyboardAccessoryBar(false); }); }