omemo: always use white background for QR code
This commit is contained in:
@@ -194,9 +194,7 @@ class KeyDialog(Gtk.Dialog):
|
|||||||
qr.make()
|
qr.make()
|
||||||
|
|
||||||
fill_color = 'black'
|
fill_color = 'black'
|
||||||
back_color = 'transparent'
|
back_color = 'white'
|
||||||
if app.css_config.prefer_dark:
|
|
||||||
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
|
||||||
# before this commit in qrcode between versions 5.3
|
# before this commit in qrcode between versions 5.3
|
||||||
|
|||||||
Reference in New Issue
Block a user