Skip to content

Commit 30fb1d1

Browse files
committed
fixed merge conflicts...
2 parents 916580e + 0259648 commit 30fb1d1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nativescript-slides.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ export class SlideContainer extends AbsoluteLayout {
184184
return;
185185
}
186186
// Android Translucent bars API >= 19 only
187-
if (app.android && this.androidTranslucentStatusBar === true || this._androidTranslucentNavBar === true && Platform.device.sdkVersion >= '19') {
188187

188+
if (app.android && this.androidTranslucentStatusBar === true || this._androidTranslucentNavBar === true && Platform.device.sdkVersion >= '19') {
189189
let window = app.android.startActivity.getWindow();
190190

191191
// check for status bar
@@ -219,6 +219,7 @@ export class SlideContainer extends AbsoluteLayout {
219219

220220
this.currentPanel = this.buildSlideMap(slides);
221221
this.currentPanel.panel.translateX = -this.pageWidth;
222+
222223
if(this.disablePan === false) {
223224
this.applySwipe(this.pageWidth);
224225
}
@@ -232,6 +233,7 @@ export class SlideContainer extends AbsoluteLayout {
232233
view.width = this.pageWidth;
233234
}
234235
});
236+
235237
if(this.disablePan === false) {
236238
this.applySwipe(this.pageWidth);
237239
}
@@ -309,7 +311,8 @@ export class SlideContainer extends AbsoluteLayout {
309311
this.transitioning = false;
310312
this.currentPanel.panel.off('pan');
311313
this.currentPanel = panel;
312-
if(this.disablePan == false) {
314+
315+
if(this.disablePan === false) {
313316
this.applySwipe(this.pageWidth);
314317
}
315318
this.setActivePageIndicator(this.currentPanel.index);

0 commit comments

Comments
 (0)