mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Enable menu item on 5.0
This commit is contained in:
parent
699ca263cc
commit
13b864aaae
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
|||
setupQuotaElement();
|
||||
|
||||
// show folder sync menu item only for Android 5+
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
||||
mNavigationView.getMenu().removeItem(R.id.nav_folder_sync);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue