removeById

fun removeById(id: String): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Removes a tray icon using the provided id from tauri's internal state.

Note that this may cause the tray icon to disappear if it wasn't cloned somewhere else or referenced by JS.