chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 23:27:18 -07:00
parent 49cd2f0df3
commit c6902538cf
62 changed files with 328 additions and 182 deletions

View File

@@ -13,7 +13,7 @@ export * from './application-common';
import { Builder } from '../ui/builder';
import { CLASS_PREFIX, getSystemCssClasses, pushToSystemCssClasses, ROOT_VIEW_CSS_CLASS } from '../css/system-classes';
import { IOSHelper } from '../ui/core/view/view-helper';
import { device } from '../platform';
import { Device } from '../platform';
import { profile } from '../profiling';
import { ios } from '../utils';
@@ -166,7 +166,7 @@ export class iOSApplication implements iOSApplicationDefinition {
}
}
@profile()
@profile
private didFinishLaunchingWithOptions(notification: NSNotification) {
if (!displayedOnce) {
displayedLinkTarget = CADisplayLinkTarget.new();
@@ -204,7 +204,7 @@ export class iOSApplication implements iOSApplicationDefinition {
}
}
@profile()
@profile
private didBecomeActive(notification: NSNotification) {
const ios = UIApplication.sharedApplication;
const object = this;
@@ -484,7 +484,7 @@ function setViewControllerView(view: View): void {
}
function setRootViewsCssClasses(rootView: View): void {
const deviceType = device.deviceType.toLowerCase();
const deviceType = Device.deviceType.toLowerCase();
pushToSystemCssClasses(`${CLASS_PREFIX}${IOS_PLATFORM}`);
pushToSystemCssClasses(`${CLASS_PREFIX}${deviceType}`);