FakeDao

This exists for preview and testing purposes.

Previews only need this to satisfy the SettingsViewModel parameter. It does nothing.

Tests use this as a makeshift database.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun getSettings(): Flow<SettingsData?>
Link copied to clipboard
open suspend override fun updateSetting(settings: SettingsData)