-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto navigate to status #46
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hab paar kleine anmerkungen
if (calendarId == -1L) { | ||
calendarId = preferencesService.getCalendarIdOfLastSelectedRoom(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated code from line 83
@@ -191,7 +233,7 @@ public void onBackPressed() { | |||
switch (navigationController.getSelectedFragment()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe delegate this logik to the navigation controller
Long defaultRoom = preferencesService.getCalendarIdOfDefaultRoom(); | ||
|
||
// if no default room set, use last selected room | ||
if (defaultRoom == -1L) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-1 finde ich nicht so gut, könnten wir da nicht was anderes nehemen? Enum z.B.
eb7b64c
to
1085440
Compare
1085440
to
97c03e5
Compare
No description provided.