elect
04/11/2024, 8:04 AMTray(icon = androidx.compose.ui.res.painterResource("vpn.svg"),
Alexander Maryanovsky
04/11/2024, 8:10 AMelect
04/11/2024, 8:10 AMAlex Styl
04/11/2024, 10:44 AMSystem.setProperty("apple.awt.enableTemplateImages", "true")
it changes the color of the vector to be the same as the other icons and gets nicely updated depending on light and dark mode.
maybe it works for linux tooelect
04/11/2024, 11:31 AM```+ * When the {@systemProperty apple.awt.enableTemplateImages} property is
+ * set, all images associated with instances of this class are treated
+ * as template images by the native desktop system. This means all color
+ * information is discarded, and the image is adapted automatically to
+ * be visible when desktop theme and/or colors change. This property
+ * only affects MacOSX.```