1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-23 02:16:48 +01:00

GBX-100: Fix notification title

This commit is contained in:
cdvrs 2024-11-20 08:17:56 +00:00
parent 212289645f
commit 16aed1364b

View File

@ -300,7 +300,7 @@ public class CasioGBX100DeviceSupport extends Casio2C2DSupport implements Shared
// If not a call or email, check the sender and if null, promote the title and message preview
// as subtitle
if (showMessagePreview && icon != CasioConstants.CATEGORY_INCOMING_CALL && icon != CasioConstants.CATEGORY_EMAIL) {
if (!StringUtils.isNullOrEmpty(sender)) {
if (StringUtils.isNullOrEmpty(sender)) {
// Shift title to sender slot
sender = title;
}