initialize

fun initialize(preferences: SharedPreferences)

Initialize the settings repository. Loads the settings from the shared preferences. If the settings are not found, it uses the default.

Parameters

preferences

Shared preferences to load the settings from.