Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/basic_usage.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module example
module main

import vtray

Expand All @@ -11,9 +11,9 @@ fn main() {
mut systray := &vtray.VTrayApp{
identifier: 'VTray!'
tooltip: 'VTray Demo!'
icon: if macos {
icon: $if macos {
'${@VMODROOT}/assets/icon.png'
} else {
} $else {
'${@VMODROOT}/assets/icon.ico'
}
items: [
Expand Down