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,8 +194,6 @@ class KeyDialog(Gtk.Dialog):
qr.make() qr.make()
fill_color = 'black' 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'): if V(get_distribution('qrcode').version) < V('6.0'):
# meaning of fill_color and back_color were switched # meaning of fill_color and back_color were switched