Do not show the QR code shortuct if you have no username.

This commit is contained in:
Greyson Parrelli
2024-02-13 10:12:15 -05:00
committed by Cody Henthorne
parent 54a1b97167
commit 8e8ba23da7
2 changed files with 6 additions and 1 deletions

View File

@@ -54,3 +54,7 @@ fun String?.nullIfBlank(): String? {
null
}
}
fun CharSequence?.isNotNullOrBlank(): Boolean {
return !this.isNullOrBlank()
}