Browse Source

合代码冲突

persist/11.0
neil 5 years ago
parent
commit
492375bbb9
  1. 9
      designer-base/src/main/java/com/fr/design/menu/SnapChatUpdateAction.java

9
designer-base/src/main/java/com/fr/design/menu/SnapChatUpdateAction.java

@ -32,7 +32,8 @@ public abstract class SnapChatUpdateAction extends UpdateAction implements SnapC
public boolean hasRead() {
String calcKey = calcKey();
return SnapChatConfig.getInstance().hasRead(calcKey);
Boolean val = SnapChatConfig.getInstance().hasRead(calcKey);
return val == null ? defaultStatus() : val;
}
@Override
@ -42,6 +43,12 @@ public abstract class SnapChatUpdateAction extends UpdateAction implements SnapC
SnapChatConfig.getInstance().markRead(calcKey);
}
@Override
public boolean defaultStatus() {
return false;
}
@Override
public SnapChatKey key() {

Loading…
Cancel
Save