disable notification option because it's broken

pull/53/head
Zlatin Balevsky 2020-11-11 05:03:46 +00:00
parent 74e357db9c
commit 1a079b8662
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 5 additions and 4 deletions

View File

@ -385,10 +385,11 @@ class OptionsView {
label(text : trans("OPTIONS_MESSAGE_SEND_INTERVAL"), constraints : gbc(gridx: 0, gridy: 2, anchor: GridBagConstraints.LINE_START, weightx: 100))
messageSendIntervalField = textField(text : bind{model.messageSendInterval}, constraints : gbc(gridx : 2, gridy : 2, anchor : GridBagConstraints.LINE_END))
if (Taskbar.isTaskbarSupported()) {
label(text : trans("OPTIONS_MESSAGE_NOTIFICATIONS"), constraints : gbc(gridx: 0, gridy: 3, anchor: GridBagConstraints.LINE_START, weightx: 100))
messageNotificationsCheckbox = checkBox(selected : bind{model.messageNotifications}, constraints : gbc(gridx:2, gridy:3, anchor:GridBagConstraints.LINE_END))
}
// TODO: re-enable when adoptopenjdk fixes it
// if (Taskbar.isTaskbarSupported()) {
// label(text : trans("OPTIONS_MESSAGE_NOTIFICATIONS"), constraints : gbc(gridx: 0, gridy: 3, anchor: GridBagConstraints.LINE_START, weightx: 100))
// messageNotificationsCheckbox = checkBox(selected : bind{model.messageNotifications}, constraints : gbc(gridx:2, gridy:3, anchor:GridBagConstraints.LINE_END))
// }
}
panel(constraints : gbc(gridx: 0, gridy : 2, weighty: 100))
}