Settings Repository
object SettingsRepository
Repository for the settings.
Properties
Functions
Link copied to clipboard
Fetch the weather for the old location.
Link copied to clipboard
Initialize the settings repository. Loads the settings from the shared preferences. If the settings are not found, it uses the default.
Link copied to clipboard
Reload the configuration. Reloads the config so all the changes are applied.
Link copied to clipboard
Set the dark theme setting.
Link copied to clipboard
Set the temperature unit setting.
Link copied to clipboard
Set the last location. Used when app first starts to show the last location.
Link copied to clipboard
Set the last weather. Used when app first starts to show the last weather.