From 68a55420e156850460a4ca6d410b348ce1eb9a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BClsmann?= Date: Sat, 29 Jan 2022 19:11:01 +0100 Subject: [PATCH] omemo: always use white background for QR code --- omemo/gtk/key.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/omemo/gtk/key.py b/omemo/gtk/key.py index e9af7fa..1776c19 100644 --- a/omemo/gtk/key.py +++ b/omemo/gtk/key.py @@ -194,9 +194,7 @@ class KeyDialog(Gtk.Dialog): qr.make() fill_color = 'black' - back_color = 'transparent' - if app.css_config.prefer_dark: - back_color = 'white' + back_color = 'white' if V(get_distribution('qrcode').version) < V('6.0'): # meaning of fill_color and back_color were switched # before this commit in qrcode between versions 5.3