amazfitbit support: fix typo

senderOrTiltle -> senderOrTitle
This commit is contained in:
Matthieu Baerts 2018-11-27 00:20:01 +01:00 committed by Carsten Pfeiffer
parent ad0dbcb96a
commit c845e16cfa
1 changed files with 2 additions and 2 deletions

View File

@ -85,9 +85,9 @@ public class AmazfitBipSupport extends HuamiSupport {
return;
}
String senderOrTiltle = StringUtils.getFirstOf(notificationSpec.sender, notificationSpec.title);
String senderOrTitle = StringUtils.getFirstOf(notificationSpec.sender, notificationSpec.title);
String message = StringUtils.truncate(senderOrTiltle, 32) + "\0";
String message = StringUtils.truncate(senderOrTitle, 32) + "\0";
if (notificationSpec.subject != null) {
message += StringUtils.truncate(notificationSpec.subject, 128) + "\n\n";
}