mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-07 02:22:44 +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:
+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