omemo: always use white background for QR code

This commit is contained in:
Florian Hülsmann
2022-01-29 19:11:01 +01:00
parent 49cff1e3f5
commit 68a55420e1

View File

@@ -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