added message, changed UI

This commit is contained in:
minacode
2022-10-09 21:58:57 +02:00
committed by JF
parent 59ee0ad1aa
commit cad58f190f
4 changed files with 12 additions and 8 deletions

View File

@@ -426,9 +426,9 @@ void SystemTask::Work() {
break;
case Messages::LowBattery: {
Pinetime::Controllers::NotificationManager::Notification notif;
std::array<char, 101> message {"Low Battery\0Low Battery\0"};
std::array<char, 101> message {"Low Battery\0Charge your watch to prevent data loss\0"};
notif.message = message;
notif.size = 25;
notif.size = 52;
notif.category = Pinetime::Controllers::NotificationManager::Categories::SimpleAlert;
notificationManager.Push(std::move(notif));
PushMessage(Messages::OnNewNotification);