chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-27 12:10:09 -07:00
parent ee8457443e
commit 6bbd6804da
45 changed files with 145 additions and 397 deletions

View File

@@ -2,7 +2,6 @@
import { LayoutBase } from '../layout-base';
import { CSSType } from '../../core/view';
import { Property, makeParser, makeValidator } from '../../core/properties';
import { isIOS } from '../../../platform';
@CSSType('StackLayout')
export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition {
@@ -16,7 +15,7 @@ const converter = makeParser<Orientation>(makeValidator('horizontal', 'vertical'
export const orientationProperty = new Property<StackLayoutBase, Orientation>({
name: 'orientation',
defaultValue: 'vertical',
affectsLayout: isIOS,
affectsLayout: global.isIOS,
valueConverter: converter,
});
orientationProperty.register(StackLayoutBase);