Skip to content

Commit

Permalink
Merge pull request #3 from TraceM171/master
Browse files Browse the repository at this point in the history
Reload NativeTray on Tray parameter change

Thanks for your PR !
  • Loading branch information
kdroidFilter authored Dec 27, 2024
2 parents b2ad477 + efb3612 commit ff5fdf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fun ApplicationScope.Tray(
primaryActionLinuxLabel: String = "Open",
menuContent: (TrayMenuBuilder.() -> Unit)? = null
) {
DisposableEffect(Unit) {
DisposableEffect(iconPath, windowsIconPath, tooltip, primaryAction, primaryActionLinuxLabel, menuContent) {
NativeTray(
iconPath = iconPath,
windowsIconPath = windowsIconPath,
Expand Down

0 comments on commit ff5fdf5

Please sign in to comment.