Refactoring

This commit is contained in:
M66B
2019-03-07 09:55:47 +00:00
parent dc0f6c4caf
commit 8cfd700928
2 changed files with 29 additions and 33 deletions

View File

@@ -96,7 +96,7 @@ public class EntityAccount implements Serializable {
}
static String getNotificationChannelName(long account) {
return "notification." + account;
return "notification" + (account == 0 ? "" : "." + account);
}
@RequiresApi(api = Build.VERSION_CODES.O)