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
+11 -16
View File
@@ -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';
/**
* @name Status Bar
@@ -34,7 +29,7 @@ import {
plugin: 'cordova-plugin-statusbar',
pluginRef: 'StatusBar',
repo: 'https://github.com/apache/cordova-plugin-statusbar',
platforms: ['Android', 'iOS', 'Windows']
platforms: ['Android', 'iOS', 'Windows'],
})
@Injectable()
export class StatusBar extends IonicNativePlugin {
@@ -51,7 +46,7 @@ export class StatusBar extends IonicNativePlugin {
* @param {boolean} doesOverlay Whether the status bar overlays the main app view.
*/
@Cordova({
sync: true
sync: true,
})
overlaysWebView(doesOverlay: boolean) {}
@@ -59,7 +54,7 @@ export class StatusBar extends IonicNativePlugin {
* Use the default statusbar (dark text, for light backgrounds).
*/
@Cordova({
sync: true
sync: true,
})
styleDefault() {}
@@ -67,7 +62,7 @@ export class StatusBar extends IonicNativePlugin {
* Use the lightContent statusbar (light text, for dark backgrounds).
*/
@Cordova({
sync: true
sync: true,
})
styleLightContent() {}
@@ -75,7 +70,7 @@ export class StatusBar extends IonicNativePlugin {
* Use the blackTranslucent statusbar (light text, for dark backgrounds).
*/
@Cordova({
sync: true
sync: true,
})
styleBlackTranslucent() {}
@@ -83,7 +78,7 @@ export class StatusBar extends IonicNativePlugin {
* Use the blackOpaque statusbar (light text, for dark backgrounds).
*/
@Cordova({
sync: true
sync: true,
})
styleBlackOpaque() {}
@@ -96,7 +91,7 @@ export class StatusBar extends IonicNativePlugin {
* @param {string} colorName The name of the color (from above)
*/
@Cordova({
sync: true
sync: true,
})
backgroundColorByName(colorName: string) {}
@@ -108,7 +103,7 @@ export class StatusBar extends IonicNativePlugin {
* @param {string} hexString The hex value of the color.
*/
@Cordova({
sync: true
sync: true,
})
backgroundColorByHexString(hexString: string) {}
@@ -116,7 +111,7 @@ export class StatusBar extends IonicNativePlugin {
* Hide the StatusBar
*/
@Cordova({
sync: true
sync: true,
})
hide() {}
@@ -124,7 +119,7 @@ export class StatusBar extends IonicNativePlugin {
* Show the StatusBar
*/
@Cordova({
sync: true
sync: true,
})
show() {}
}