From 4b32f66ecae33fb904884d650c68b6c256c7f8ea Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 7 Jan 2021 01:44:05 +0100 Subject: Fix for pinephone --- TODO | 3 ++- src/QuickMedia.cpp | 2 +- src/plugins/NyaaSi.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 207eb09..1baedec 100644 --- a/TODO +++ b/TODO @@ -159,4 +159,5 @@ Update thumbnails in file-manager if an image is replaced, by including the modi Create a workaround for dwm terminal swallow patch stealing mpv when moving QuickMedia to another monitor sometimes. Maybe check for structure notify events on mpv and reparent and select input on the mpv window again? Resize video thumbnail when extracted with ffmpeg to 480x360, clamped from its original size. Remove reply formatting from edited text in room description in room list. -Add option to decline and mute user in invites. This is to combat invite spam, where muted users cant invite you. \ No newline at end of file +Add option to decline and mute user in invites. This is to combat invite spam, where muted users cant invite you. +Searching in channel page should search in the channel instead of filter, because with filtering we only filter the videos we have loaded in the channel page and the channel page uses pagination; so we may have only loaded 20 videos while the channel may actually have 2000 videos. \ No newline at end of file diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index c7b5505..1a62fba 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -328,7 +328,7 @@ namespace QuickMedia { Program::Program() : disp(nullptr), - window(sf::VideoMode(1280, 720), "QuickMedia", sf::Style::Default), + window(sf::VideoMode(1280, 720, 24), "QuickMedia", sf::Style::Default), window_size(1280, 720), current_page(PageType::EXIT), image_index(0) diff --git a/src/plugins/NyaaSi.cpp b/src/plugins/NyaaSi.cpp index 2ed5f59..ea482ef 100644 --- a/src/plugins/NyaaSi.cpp +++ b/src/plugins/NyaaSi.cpp @@ -228,7 +228,7 @@ namespace QuickMedia { std::string title; BodyItems result_items; - auto torrent_item = BodyItem::create("Download magnet"); + auto torrent_item = BodyItem::create("💾 Download magnet"); std::string magnet_url; std::string description; -- cgit v1.2.3