diff options
author | Florian Hülsmann <fh@cbix.de> | 2022-01-29 21:11:01 +0300 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2022-01-29 21:11:01 +0300 |
commit | 68a55420e156850460a4ca6d410b348ce1eb9a54 (patch) | |
tree | 3c8df50eae20966d8564ea017d8ae3bb15028f03 | |
parent | 49cff1e3f50d1ed5c74bb2f54829d09edb1e62e8 (diff) |
omemo: always use white background for QR code
-rw-r--r-- | omemo/gtk/key.py | 4 |
1 files changed, 1 insertions, 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 |