added message, changed UI
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user