Selaa lähdekoodia

fix app action string message

tags/v0.5.0
Jonathan Cobb 5 vuotta sitten
vanhempi
commit
7d9c1c97ba
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      bubble-server/src/main/java/bubble/service/message/AppMessageService.java

+ 2
- 2
bubble-server/src/main/java/bubble/service/message/AppMessageService.java Näytä tiedosto

@@ -100,11 +100,11 @@ public class AppMessageService {

if (configView.hasActions()) {
for (AppConfigAction action : configView.getActions()) {
final String actionKey = cfgKeyPrefix + MSG_SUFFIX_ACTION + action;
final String actionKey = cfgKeyPrefix + MSG_SUFFIX_ACTION + action.getName();
if (!props.containsKey(actionKey)) props.setProperty(actionKey, action.getName());

if (action.hasButton()) {
final String buttonKey = cfgKeyPrefix + MSG_SUFFIX_BUTTON + action;
final String buttonKey = cfgKeyPrefix + MSG_SUFFIX_BUTTON + action.getName();
if (!props.containsKey(buttonKey)) props.setProperty(buttonKey, action.getButton());
}



Ladataan…
Peruuta
Tallenna