mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Hide sharing option by default
This commit is contained in:
parent
195300607e
commit
66a928fc6f
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue