removeScheme

open override fun removeScheme(scheme: T)(source)

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

IllegalArgumentException

if the default scheme is being removed