Hide sharing option by default

This commit is contained in:
crschnick 2023-11-28 22:25:08 +00:00
parent 195300607e
commit 66a928fc6f

View file

@ -108,7 +108,7 @@ public class StoreCategoryComp extends SimpleComp {
});
contextMenu.getItems().add(newCategory);
if (category.getCategory().canShare()) {
if (DataStorage.get().supportsSharing() && category.getCategory().canShare()) {
var share = new MenuItem();
share.textProperty().bind(Bindings.createStringBinding(() -> {
if (category.getShare().getValue()) {