Skip to content

Commit 13fd11d

Browse files
committed
Change direction of animations
1 parent 62aae00 commit 13fd11d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/MainView.mc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class MainViewDelegate extends WatchUi.BehaviorDelegate {
222222
var menu = new ProviderMenu("New provider", null);
223223
WatchUi.pushView(menu, new ProviderMenuDelegate(menu, null), WatchUi.SLIDE_LEFT);
224224
} else {
225-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
225+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
226226
}
227227
return false;
228228
}
@@ -235,7 +235,7 @@ class MainViewDelegate extends WatchUi.BehaviorDelegate {
235235
var menu = new ProviderMenu("New provider", null);
236236
WatchUi.pushView(menu, new ProviderMenuDelegate(menu, null), WatchUi.SLIDE_LEFT);
237237
} else {
238-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
238+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
239239
}
240240
return true;
241241
}
@@ -245,28 +245,28 @@ class MainViewDelegate extends WatchUi.BehaviorDelegate {
245245
// Next mode to open provider list
246246
function onNext() {
247247
log(DEBUG, "MainView onNext");
248-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
248+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
249249
return true;
250250
}
251251

252252
// Next page to open provider list
253253
function onNextPage() {
254254
log(DEBUG, "MainView onNextPage");
255-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
255+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
256256
return true;
257257
}
258258

259259
// Previous mode to open provider list
260260
function onPrevious() {
261261
log(DEBUG, "MainView onPrevious");
262-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
262+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
263263
return true;
264264
}
265265

266266
// Previous page to open provider list
267267
function onPreviousPage() {
268268
log(DEBUG, "MainView onPreviousPage");
269-
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_RIGHT);
269+
WatchUi.pushView(new ProviderList(), new ProviderListDelegate(), WatchUi.SLIDE_LEFT);
270270
return true;
271271
}
272272

0 commit comments

Comments
 (0)