mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-05 17:33:49 +00:00
Do not inverse QR-code colors on dark mode to fix readability with some readers and the native camera app on Android (fixes #187)
This commit is contained in:
@@ -1268,9 +1268,9 @@ class PairDeviceDialog extends Dialog {
|
||||
content: this._getPairUrl(),
|
||||
width: 150,
|
||||
height: 150,
|
||||
padding: 0,
|
||||
background: "transparent",
|
||||
color: `rgb(var(--text-color))`,
|
||||
padding: 1,
|
||||
background: 'rgb(238,238,238)',
|
||||
color: 'rgb(18, 18, 18)',
|
||||
ecl: "L",
|
||||
join: true
|
||||
});
|
||||
@@ -1619,9 +1619,9 @@ class PublicRoomDialog extends Dialog {
|
||||
content: this._getShareRoomUrl(),
|
||||
width: 150,
|
||||
height: 150,
|
||||
padding: 0,
|
||||
background: "transparent",
|
||||
color: `rgb(var(--text-color))`,
|
||||
padding: 1,
|
||||
background: 'rgb(238,238,238)',
|
||||
color: 'rgb(18, 18, 18)',
|
||||
ecl: "L",
|
||||
join: true
|
||||
});
|
||||
|
||||
@@ -1270,9 +1270,9 @@ class PairDeviceDialog extends Dialog {
|
||||
content: this._getPairUrl(),
|
||||
width: 150,
|
||||
height: 150,
|
||||
padding: 0,
|
||||
background: "transparent",
|
||||
color: `rgb(var(--text-color))`,
|
||||
padding: 1,
|
||||
background: 'rgb(238,238,238)',
|
||||
color: 'rgb(18, 18, 18)',
|
||||
ecl: "L",
|
||||
join: true
|
||||
});
|
||||
@@ -1621,9 +1621,9 @@ class PublicRoomDialog extends Dialog {
|
||||
content: this._getShareRoomUrl(),
|
||||
width: 150,
|
||||
height: 150,
|
||||
padding: 0,
|
||||
background: "transparent",
|
||||
color: `rgb(var(--text-color))`,
|
||||
padding: 1,
|
||||
background: 'rgb(238,238,238)',
|
||||
color: 'rgb(18, 18, 18)',
|
||||
ecl: "L",
|
||||
join: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user