[FL-1404] iButton long names fix (#528)

* ibutton: long names partial fix\
* ibutton: limit max filename length to 22 chars
* elwrapping long names to a new line
* Proper m-string size usage

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
its your bedtime
2021-06-22 12:56:57 +03:00
committed by GitHub
parent 8605f53c28
commit 6ec9c6cc49
10 changed files with 44 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ void iButtonSceneWriteSuccess::on_enter(iButtonApp* app) {
auto callback = cbc::obtain_connector(this, &iButtonSceneWriteSuccess::popup_callback);
popup_set_icon(popup, 0, 12, I_iButtonDolphinVerySuccess_108x52);
popup_set_text(popup, "Successful writing!", 47, 14, AlignLeft, AlignBottom);
popup_set_text(popup, "Successfully written!", 44, 14, AlignLeft, AlignBottom);
popup_set_callback(popup, callback);
popup_set_context(popup, app);