From 14c627090340de9748af3d971a18f7d218e8c6db Mon Sep 17 00:00:00 2001 From: adumelie Date: Thu, 14 Mar 2024 16:41:17 +0100 Subject: [PATCH] Typo in example code --- doc/code/Apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/code/Apps.md b/doc/code/Apps.md index bf71eab4..44c4ed65 100644 --- a/doc/code/Apps.md +++ b/doc/code/Apps.md @@ -143,7 +143,7 @@ namespace Pinetime { struct AppTraits { static constexpr Apps app = Apps::MyApp; static constexpr const char* icon = Screens::Symbols::myApp; - static Screens::Screen* Create(AppController& controllers) { + static Screens::Screen* Create(AppControllers& controllers) { return new Screens::MyApp(); } };