mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-27 09:46:50 +03:00
Fix #669 App crashes when select folder
This commit is contained in:
parent
b295bc9050
commit
b11ed4da98
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ public class NotesListViewActivity extends AppCompatActivity implements ItemAdap
|
||||||
navigationSelection = new Category(null, null);
|
navigationSelection = new Category(null, null);
|
||||||
} else if (itemFavorites.equals(item)) {
|
} else if (itemFavorites.equals(item)) {
|
||||||
navigationSelection = new Category(null, true);
|
navigationSelection = new Category(null, true);
|
||||||
} else if (itemUncategorized.equals(item)) {
|
} else if (itemUncategorized != null && itemUncategorized.equals(item)) {
|
||||||
navigationSelection = new Category("", null);
|
navigationSelection = new Category("", null);
|
||||||
} else {
|
} else {
|
||||||
navigationSelection = new Category(item.label, null);
|
navigationSelection = new Category(item.label, null);
|
||||||
|
|
Loading…
Reference in a new issue