Enable menu item on 5.0

This commit is contained in:
Mario Danic 2017-02-03 00:23:06 +01:00 committed by AndyScherzinger
parent 699ca263cc
commit 13b864aaae
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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);
}
}