From 0058d8045137fa2c2c07ddc56458840b0e663c14 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 17 Aug 2021 02:52:51 +0200 Subject: Better anilist repr --- src/QuickMedia.cpp | 2 +- src/plugins/AniList.cpp | 2 +- 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(this), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); } else if(strcmp(plugin_name, "anilist") == 0) { - tabs.push_back(Tab{create_body(), std::make_unique(this), create_search_bar("Search...", 400)}); + tabs.push_back(Tab{create_body(), std::make_unique(this), create_search_bar("Search...", 300)}); } else if(strcmp(plugin_name, "file-manager") == 0) { auto file_manager_page = std::make_unique(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); -- cgit v1.2.3