diff --git a/tutorials/Tray_Notifications_MenuBar_new/README.md b/tutorials/Tray_Notifications_MenuBar_new/README.md index 82f6308861..46001c314b 100644 --- a/tutorials/Tray_Notifications_MenuBar_new/README.md +++ b/tutorials/Tray_Notifications_MenuBar_new/README.md @@ -189,7 +189,7 @@ fun main() = application { } } Separator() - Item("About", icon = TrayIcon, onClick = { action = "Last action: About" }) + Item("About", icon = AboutIcon, onClick = { action = "Last action: About" }) Item("Exit", onClick = { isOpen = false }, shortcut = KeyShortcut(Key.Escape), mnemonic = 'E') } } @@ -204,7 +204,7 @@ fun main() = application { } } -object TrayIcon : Painter() { +object AboutIcon : Painter() { override val intrinsicSize = Size(256f, 256f) override fun DrawScope.onDraw() {