Skip to content

Auto navigate to status#46

Open
heetel wants to merge 1 commit intomasterfrom
auto-navigate-to-status
Open

Auto navigate to status#46
heetel wants to merge 1 commit intomasterfrom
auto-navigate-to-status

Conversation

@heetel
Copy link
Copy Markdown
Contributor

@heetel heetel commented Nov 13, 2019

No description provided.

@heetel heetel added the enhancement New feature or request label Nov 13, 2019
@heetel heetel added this to the Design 2.0 milestone Nov 13, 2019
Copy link
Copy Markdown
Contributor

@maxdobler maxdobler left a 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

Comment on lines +119 to +121
if (calendarId == -1L) {
calendarId = preferencesService.getCalendarIdOfLastSelectedRoom();
}
Copy link
Copy Markdown
Contributor

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()) {
Copy link
Copy Markdown
Contributor

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) {
Copy link
Copy Markdown
Contributor

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.

@heetel heetel force-pushed the auto-navigate-to-status branch from eb7b64c to 1085440 Compare February 11, 2020 13:33
@heetel heetel force-pushed the auto-navigate-to-status branch from 1085440 to 97c03e5 Compare April 8, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants