Browse Source

fix app action string message

tags/v0.5.0
Jonathan Cobb 4 years ago
parent
commit
7d9c1c97ba
1 changed files with 2 additions and 2 deletions
  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 View File

@@ -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());
}



Loading…
Cancel
Save