add: profile motivational header setting

This commit is contained in:
trisua 2025-04-19 14:52:33 -04:00
parent bc57782bfe
commit 2266afde01
4 changed files with 28 additions and 11 deletions

View file

@ -133,6 +133,9 @@ pub struct UserSettings {
pub disable_other_theme_css: bool,
#[serde(default)]
pub enable_questions: bool,
/// A header shown in the place of "Ask question" if `enable_questions` is true.
#[serde(default)]
pub motivational_header: String,
}
impl Default for User {