Fix! replace space with '_' on filename on QRDisplay

This commit is contained in:
Hasinjato 2026-09-28 16:11:52 +03:00
parent 544e393b22
commit 1391d0fe8e

View file

@ -45,7 +45,7 @@ fun QRDisplay(sharedScreenModel: SharedScreenModel, fileRepository: FileReposito
val content by sharedScreenModel.fileContent val content by sharedScreenModel.fileContent
val path by sharedScreenModel.activeFilePath val path by sharedScreenModel.activeFilePath
val fileName = path.substringAfterLast('/').substringAfterLast(':') val fileName = path.substringAfterLast('/').substringAfterLast(':').replace(' ','_')
val qrCodeImage by produceState<ImageBitmap?>(initialValue = null, content, path) { val qrCodeImage by produceState<ImageBitmap?>(initialValue = null, content, path) {
val expandedSource = expandInclusions( val expandedSource = expandInclusions(