mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 10:42:31 +00:00
ui: smaller QR code for short links (#5946)
* ui: smaller QR code for short links * more small * size * translations
This commit is contained in:
1 parent
ee2ea152dc
commit
b848f735ce
9 files changed
+46
-31
No files matched your search
+3
-3
@@ -133,9 +133,9 @@ actual fun ImageBitmap.hasAlpha(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
actual fun ImageBitmap.addLogo(): ImageBitmap {
|
||||
val radius = (width * 0.16f).toInt()
|
||||
val logoSize = (width * 0.24).toInt()
|
||||
actual fun ImageBitmap.addLogo(size: Float): ImageBitmap {
|
||||
val radius = (width * size).toInt()
|
||||
val logoSize = (width * size * 1.5).toInt()
|
||||
val logo: BufferedImage = MR.images.icon_foreground_common.image
|
||||
val original = toAwtImage()
|
||||
val withLogo = BufferedImage(width, height, original.type)
|
||||
|
||||
Reference in new issue
Block a user