fix: don't check primary/secondary text color for contrast against surface
This commit is contained in:
parent
f867abcb34
commit
41250ef7ed
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ pub async fn settings_request(
|
||||||
}
|
}
|
||||||
|
|
||||||
for setting in &settings_map {
|
for setting in &settings_map {
|
||||||
if !setting.0.starts_with("theme_color_text") {
|
if !setting.0.starts_with("theme_color_text")
|
||||||
|
| (setting.0 == "theme_color_text_primary")
|
||||||
|
| (setting.0 == "theme_color_text_secondary")
|
||||||
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue