aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-17 02:52:51 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-17 02:52:51 +0200
commit0058d8045137fa2c2c07ddc56458840b0e663c14 (patch)
tree4e64ac19d88036b3297275cd1ca31296b51fbbd1 /src
parent9fe6d0fe509295d3ef93e1007fbed475737808c6 (diff)
Better anilist repr
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
-rw-r--r--src/plugins/AniList.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 7f83cb9..79f6d51 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1214,7 +1214,7 @@ namespace QuickMedia {
body->set_items(std::move(body_items));
tabs.push_back(Tab{std::move(body), std::make_unique<HotExamplesLanguageSelectPage>(this), create_search_bar("Search...", SEARCH_DELAY_FILTER)});
} else if(strcmp(plugin_name, "anilist") == 0) {
- tabs.push_back(Tab{create_body(), std::make_unique<AniListSearchPage>(this), create_search_bar("Search...", 400)});
+ tabs.push_back(Tab{create_body(), std::make_unique<AniListSearchPage>(this), create_search_bar("Search...", 300)});
} else if(strcmp(plugin_name, "file-manager") == 0) {
auto file_manager_page = std::make_unique<FileManagerPage>(this, fm_mime_type, file_selection_handler);
if(!file_manager_page->set_current_directory(file_manager_start_dir))
diff --git a/src/plugins/AniList.cpp b/src/plugins/AniList.cpp
index c4286e0..fe9a62f 100644
--- a/src/plugins/AniList.cpp
+++ b/src/plugins/AniList.cpp
@@ -377,7 +377,7 @@ query ($id: Int, $page: Int, $perPage: Int) {
if(description_json.isString()) {
if(!description.empty())
description += "\n\n";
- description += "Synopsis: ";
+ description += "Synopsis:\n";
std::string synopsis = description_json.asString();
description_remove_html(synopsis);