aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/MyAnimeList.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-08 17:04:31 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-08 17:04:57 +0200
commitda2988c4356d2756e86037b1c7e859f49583c109 (patch)
tree73ca076fa1a0f46fa3e3f1e6016d7bf479113491 /src/plugins/MyAnimeList.cpp
parent24b0ed2ae8a0d52ceee647e34a943213e9d3bc89 (diff)
Load theme from file (~/.config/quickmedia/themes/<theme-name>.json and /usr/share/quickmedia/themes/<theme-name>.json)
Diffstat (limited to 'src/plugins/MyAnimeList.cpp')
-rw-r--r--src/plugins/MyAnimeList.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/MyAnimeList.cpp b/src/plugins/MyAnimeList.cpp
index 5f5ae40..16f07f9 100644
--- a/src/plugins/MyAnimeList.cpp
+++ b/src/plugins/MyAnimeList.cpp
@@ -85,7 +85,7 @@ namespace QuickMedia {
if(!description.empty()) {
body_item->set_description(std::move(description));
- body_item->set_description_color(get_current_theme().faded_text_color);
+ body_item->set_description_color(get_theme().faded_text_color);
}
return body_item;
@@ -284,7 +284,7 @@ namespace QuickMedia {
std::string description(text.data, text.size);
html_unescape_sequences(description);
(*item_data->body_items)[item_data->index]->set_description(std::move(description));
- (*item_data->body_items)[item_data->index]->set_description_color(get_current_theme().faded_text_color);
+ (*item_data->body_items)[item_data->index]->set_description_color(get_theme().faded_text_color);
item_data->index++;
}
return 0;
@@ -302,7 +302,7 @@ namespace QuickMedia {
auto body_item = BodyItem::create("");
body_item->set_description(std::move(description));
- body_item->set_description_color(get_current_theme().faded_text_color);
+ body_item->set_description_color(get_theme().faded_text_color);
result_items->push_back(std::move(body_item));
}
return 0;