mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-09 20:11:34 -04:00
update QR code convention
This commit is contained in:
1 parent
72af2b4a44
commit
2e4cae048f
3 files changed
+6
-6
No files matched your search
@@ -15,7 +15,7 @@ data class ChannelSet(
|
||||
) : Logging {
|
||||
companion object {
|
||||
|
||||
const val prefix = "https://www.meshtastic.org/e/#"
|
||||
const val prefix = "https://meshtastic.org/e/#"
|
||||
|
||||
private const val base64Flags = Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING
|
||||
|
||||
@@ -65,7 +65,7 @@ data class ChannelSet(
|
||||
// We encode as UPPER case for the QR code URL because QR codes are more efficient for that special case
|
||||
val bitMatrix =
|
||||
multiFormatWriter.encode(
|
||||
getChannelUrl(true).toString(),
|
||||
getChannelUrl(false).toString(),
|
||||
BarcodeFormat.QR_CODE,
|
||||
960,
|
||||
960
|
||||
|
||||
Reference in new issue
Block a user