removeScheme

open override fun removeScheme(scheme: T)

Removes the given scheme from the settings.

If the currently-selected scheme is removed, the current selection will change to the default scheme. If there are somehow no more schemes, the default scheme is inserted and selected.

Parameters

scheme

the scheme to remove

Throws

kotlin.IllegalArgumentException

if the default scheme is being removed

Sources

jvm source
Link copied to clipboard