NEW_NOTE_NOTICE -> THEME_NEW_NOTE_NOTICE

This commit is contained in:
Tamás Kádár
2024-03-19 12:06:46 +00:00
parent b00846ce9d
commit 239e950f8e
5 changed files with 20 additions and 20 deletions

View File

@@ -10,7 +10,7 @@ pub struct Status {
pub max_expiration: u32,
pub allow_advanced: bool,
pub allow_files: bool,
pub new_note_notice: bool,
pub theme_new_note_notice: bool,
// Theme
pub theme_image: String,
pub theme_text: String,

View File

@@ -12,7 +12,7 @@ async fn get_status() -> impl Responder {
max_expiration: *config::MAX_EXPIRATION,
allow_advanced: *config::ALLOW_ADVANCED,
allow_files: *config::ALLOW_FILES,
new_note_notice: *config::NEW_NOTE_NOTICE,
theme_new_note_notice: *config::THEME_NEW_NOTE_NOTICE,
theme_image: config::THEME_IMAGE.to_string(),
theme_text: config::THEME_TEXT.to_string(),
theme_page_title: config::THEME_PAGE_TITLE.to_string(),