InfiniTime.git

commit dbbbbfd1ac89607b5194fa04c15f6b4f84d064bf

Author: minacode <minamoto9@web.de>

hopefully fixed crash on notification

 src/systemtask/SystemTask.cpp | 2 +-


diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 0be587a59fb10b0677aaf47dda62ceb11d7a2614..2f5fd214decceaa5d8fc078da4736e97eccb9eec 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -428,7 +428,7 @@         case Messages::LowBattery: {
           Pinetime::Controllers::NotificationManager::Notification notif;
           std::array<char, Pinetime::Controllers::NotificationManager::MessageSize + 1> message {
             "Low Battery\0Charge your watch to prevent data loss.\0"};
-          notif.message = message;
+          notif.message = std::move(message);
           notif.size = 53;
           notif.category = Pinetime::Controllers::NotificationManager::Categories::SimpleAlert;
           notificationManager.Push(std::move(notif));