File tree 3 files changed +0
-13
lines changed
java/com/owncloud/android/ui/activity
3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -439,9 +439,6 @@ private void onNavigationItemClicked(final MenuItem menuItem) {
439
439
menuItem .getItemId ());
440
440
} else if (itemId == R .id .nav_gallery ) {
441
441
startPhotoSearch (menuItem );
442
- } else if (itemId == R .id .nav_on_device ) {
443
- EventBus .getDefault ().post (new ChangeMenuEvent ());
444
- showFiles (true );
445
442
} else if (itemId == R .id .nav_uploads ) {
446
443
startActivity (UploadListActivity .class , Intent .FLAG_ACTIVITY_CLEAR_TOP );
447
444
} else if (itemId == R .id .nav_trashbin ) {
Original file line number Diff line number Diff line change @@ -1197,13 +1197,8 @@ protected void onResume() {
1197
1197
}
1198
1198
1199
1199
private void setDrawerAllFiles () {
1200
- if (MainApp .isOnlyOnDevice ()) {
1201
- setDrawerMenuItemChecked (R .id .nav_on_device );
1202
- setupToolbar ();
1203
- } else {
1204
1200
setDrawerMenuItemChecked (R .id .nav_all_files );
1205
1201
setupHomeSearchToolbarWithSortAndListButtons ();
1206
- }
1207
1202
}
1208
1203
1209
1204
public void initSyncBroadcastReceiver () {
Original file line number Diff line number Diff line change 48
48
android : orderInCategory =" 0"
49
49
android : icon =" @drawable/nav_shared"
50
50
android : title =" @string/drawer_item_shared" />
51
- <item
52
- android : id =" @+id/nav_on_device"
53
- android : icon =" @drawable/nav_on_device"
54
- android : orderInCategory =" 0"
55
- android : title =" @string/drawer_item_on_device" />
56
51
<item
57
52
android : id =" @+id/nav_recently_modified"
58
53
android : icon =" @drawable/nav_recently"
You can’t perform that action at this time.
0 commit comments