Skip to main content

## persist_library_settings

# Function persist_library_settings

Source

    async fn persist_library_settings(
        db: &State<'_, DatabaseWrapper>,
        settings: &LibrarySettings,
    )

Expand description

Write the preferences to `app_settings`.

Failure is logged, not returned: the setting has already been applied in memory, and failing the whole call because the write failed would leave the picker showing a state that is in force.

TRACES: UR-076 | DR-209