From 3ea728d1f4ef715803df7ebbb67fac292faee7d6 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Thu, 30 Jun 2022 14:58:52 +0400 Subject: [PATCH] Update README.md --- tutorials/Tray_Notifications_MenuBar_new/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/Tray_Notifications_MenuBar_new/README.md b/tutorials/Tray_Notifications_MenuBar_new/README.md index 82f63088..46001c31 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() {