add: profile motivational header setting
This commit is contained in:
parent
bc57782bfe
commit
2266afde01
4 changed files with 28 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue