mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Update README.md
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user