| 112 | #pragma endregion Open_Events_Functions |
| 113 | |
| 114 | void onCreate(AppContext& appContext) override { |
| 115 | auto parameters = appContext.getParameters(); |
| 116 | std::string file_path; |
| 117 | if (parameters != nullptr && parameters->optString(NOTES_FILE_ARGUMENT, file_path)) { |
| 118 | if (!file_path.empty()) { |
| 119 | filePath = file_path; |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | void onShow(AppContext& context, lv_obj_t* parent) override { |
| 124 | lv_obj_remove_flag(parent, LV_OBJ_FLAG_SCROLLABLE); |
| 125 | lv_obj_set_flex_flow(parent, LV_FLEX_FLOW_COLUMN); |
nothing calls this directly
no test coverage detected