M harmony_changelog.md => harmony_changelog.md +1 -0
@@ 25,6 25,7 @@
* Added error handling for incorrect audio formats and corrupted files inside Relaxation app
* Added error message when files limit is exceeded in Relaxation app
* Added label informing about PC connection.
+* Added serial number to About section
### Changed / Improved
M products/BellHybrid/apps/application-bell-settings/CMakeLists.txt => products/BellHybrid/apps/application-bell-settings/CMakeLists.txt +1 -0
@@ 127,6 127,7 @@ target_link_libraries(application-bell-settings
bell::appmgr
service-appmgr
apps-common
+ serial-number-reader
PUBLIC
module-gui
bell::app-common
M products/BellHybrid/apps/application-bell-settings/models/AboutYourBellModel.cpp => products/BellHybrid/apps/application-bell-settings/models/AboutYourBellModel.cpp +5 -1
@@ 1,4 1,4 @@
-// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
+// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "AboutYourBellModel.hpp"
@@ 7,6 7,7 @@
#include <widgets/AboutYourBellListItem.hpp>
#include <ProductConfig.hpp>
+#include <serial-number-reader/SerialNumberReader.hpp>
#include <ListView.hpp>
#include <product/version.hpp>
#include <purefs/filesystem_paths.hpp>
@@ 47,6 48,9 @@ namespace app::bell_settings
utils::translate("app_bell_settings_about_version"),
gui::AboutYourBellListItem::TokenMap({{"$VERSION", std::string(VERSION)}})));
+ internalData.push_back(new gui::AboutYourBellListItem(utils::translate("app_settings_tech_info_serial_number"),
+ serial_number_reader::readSerialNumber()));
+
#if CONFIG_SHOW_MEMORY_INFO == 1
struct statvfs stat;
const auto result = statvfs(purefs::dir::getRootDiskPath().c_str(), &stat);