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

@@ -12,11 +12,11 @@ import { ImageSource } from '../../image-source';
import { profile } from '../../profiling';
import { Frame } from '../frame';
import { layout, ios as iosUtils } from '../../utils';
import { device } from '../../platform';
import { Device } from '../../platform';
export * from './tab-view-common';
const majorVersion = iosUtils.MajorVersion;
const isPhone = device.deviceType === 'Phone';
const isPhone = Device.deviceType === 'Phone';
class UITabBarControllerImpl extends UITabBarController {
private _owner: WeakRef<TabView>;
@@ -36,7 +36,7 @@ class UITabBarControllerImpl extends UITabBarController {
this.extendedLayoutIncludesOpaqueBars = true;
}
@profile()
@profile
public viewWillAppear(animated: boolean): void {
super.viewWillAppear(animated);
const owner = this._owner.get();
@@ -51,7 +51,7 @@ class UITabBarControllerImpl extends UITabBarController {
}
}
@profile()
@profile
public viewDidDisappear(animated: boolean): void {
super.viewDidDisappear(animated);
const owner = this._owner.get();
@@ -295,7 +295,7 @@ export class TabView extends TabViewBase {
super.disposeNativeView();
}
@profile()
@profile
public onLoaded() {
super.onLoaded();