Skip to content

Commit b10d6db

Browse files
committed
chore: cleanup
1 parent 2b54e99 commit b10d6db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tabs/tabs.ios.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
import { Color, Device, Font, Frame, IOSHelper, ImageSource, Trace, Utils, View, ViewBase } from '@nativescript/core';
33
import { TabsBase, swipeEnabledProperty } from './tabs-common';
44

5-
import { itemsProperty, selectedIndexProperty, tabStripProperty, getIconSpecSize } from '@nativescript-community/ui-material-core/tab-navigation-base/tab-navigation-base';
5+
import { getIconSpecSize, itemsProperty, selectedIndexProperty, tabStripProperty } from '@nativescript-community/ui-material-core/tab-navigation-base/tab-navigation-base';
66
import { TabStrip } from '@nativescript-community/ui-material-core/tab-navigation-base/tab-strip';
77
import { TabStripItem } from '@nativescript-community/ui-material-core/tab-navigation-base/tab-strip-item';
88
import { TabContentItem } from '@nativescript-community/ui-material-core/tab-navigation-base/tab-content-item';
99
export { TabContentItem, TabStrip, TabStripItem };
1010

11-
// TODO
1211
// import { profile } from "../../profiling";
1312

1413
const majorVersion = Utils.ios.MajorVersion;
@@ -223,6 +222,8 @@ class UIPageViewControllerImpl extends UIPageViewController {
223222

224223
if (!owner.swipeEnabled) {
225224
scrollView.scrollEnabled = false;
225+
} else {
226+
scrollView.scrollEnabled = true;
226227
}
227228

228229
scrollView.frame = CGRectMake(0, scrollViewTop, this.view.bounds.size.width, scrollViewHeight); //this.view.bounds;

0 commit comments

Comments
 (0)