mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
update QR code convention
This commit is contained in:
parent
72af2b4a44
commit
2e4cae048f
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue