refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
@@ -1,10 +1,5 @@
import { Injectable } from '@angular/core';
import {
Cordova,
CordovaProperty,
IonicNativePlugin,
Plugin
} from '@ionic-native/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs';
/**
@@ -60,7 +55,7 @@ import { Observable } from 'rxjs';
plugin: 'cordova-plugin-screen-orientation',
pluginRef: 'screen.orientation',
repo: 'https://github.com/apache/cordova-plugin-screen-orientation',
platforms: ['Android', 'iOS', 'Windows']
platforms: ['Android', 'iOS', 'Windows'],
})
@Injectable()
export class ScreenOrientation extends IonicNativePlugin {
@@ -74,7 +69,7 @@ export class ScreenOrientation extends IonicNativePlugin {
LANDSCAPE_SECONDARY: 'landscape-secondary',
PORTRAIT: 'portrait',
LANDSCAPE: 'landscape',
ANY: 'any'
ANY: 'any',
};
/**
* Listen to orientation change event
@@ -83,7 +78,7 @@ export class ScreenOrientation extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'orientationchange',
element: 'window'
element: 'window',
})
onChange(): Observable<void> {
return;