correct check for groupfolder entry

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2023-05-26 16:07:12 +02:00 committed by Andy Scherzinger
parent 2edd171eda
commit cfe41aced6

View file

@ -65,7 +65,7 @@ public final class DrawerMenuUtil {
}
public static void filterGroupfoldersMenuItem(Menu menu, @Nullable OCCapability capability) {
if (capability != null && capability.getGroupfolders().isFalse()) {
if (capability != null && !capability.getGroupfolders().isTrue()) {
filterMenuItems(menu, R.id.nav_groupfolders);
}
}