Skip to content

Commit 697a6dd

Browse files
committed
Remove TrayApp overloads section from README
Simplified README by removing the TrayApp overloads section, as it no longer aligns with current usage or implementation practices.
1 parent ed47cb5 commit 697a6dd

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -528,14 +528,6 @@ TrayApp is a high-level API that creates a system tray icon and an undecorated p
528528

529529
Use TrayApp when you want a compact companion window (like a quick settings or mini dashboard) anchored to the system tray, in addition to or instead of your main window — ideal for building apps in the style of JetBrains Toolbox.
530530

531-
### Overloads
532-
- TrayApp(icon: ImageVector, tint: Color? = null, tooltip: String, windowSize: DpSize = DpSize(300.dp, 200.dp), visibleOnStart: Boolean = false, menu: TrayMenuBuilder.() -> Unit = {}, content)
533-
- TrayApp(icon: Painter, tooltip: String, windowSize: DpSize = DpSize(300.dp, 200.dp), visibleOnStart: Boolean = false, menu: TrayMenuBuilder.() -> Unit = {}, content)
534-
- TrayApp(windowsIcon: Painter, macLinuxIcon: ImageVector, tint: Color? = null, tooltip: String, windowSize: DpSize = DpSize(300.dp, 200.dp), visibleOnStart: Boolean = false, menu: TrayMenuBuilder.() -> Unit = {}, content)
535-
- TrayApp(iconContent: @Composable () -> Unit, tooltip: String, windowSize: DpSize = DpSize(300.dp, 200.dp), visibleOnStart: Boolean = false, fadeDurationMs: Int = 200, menu: TrayMenuBuilder.() -> Unit = {}, content)
536-
537-
All overloads also accept IconRenderProperties for advanced icon rendering; defaults are chosen per OS.
538-
539531
### Parameters
540532
- icon / windowsIcon / macLinuxIcon / iconContent: the tray icon source.
541533
- tint: optional tint (macOS/Linux ImageVector convenience).

0 commit comments

Comments
 (0)