fix: contrast checks

This commit is contained in:
trisua 2025-04-23 17:22:33 -04:00
parent 276f25a496
commit 9a2852f7ba
4 changed files with 11 additions and 7 deletions

View file

@ -18,7 +18,7 @@ tetratto-l10n = { path = "../l10n" }
serde_json = "1.0.140"
totp-rs = { version = "5.7.0", features = ["qr", "gen_secret"] }
redis = { version = "0.29.5", optional = true }
redis = { version = "0.30.0", optional = true }
rusqlite = { version = "0.35.0", optional = true }

View file

@ -794,7 +794,11 @@ impl DataManager {
data.id,
rt.id
),
format!("\"{}\"", data.content),
if data.content.is_empty() {
String::new()
} else {
format!("\"{}\"", data.content)
},
rt.owner
)
)