From 1391d0fe8e5cea496c7a7c655716ee11710bbea6 Mon Sep 17 00:00:00 2001 From: Hasinjato Date: Mon, 28 Sep 2026 16:11:52 +0300 Subject: [PATCH] Fix! replace space with '_' on filename on QRDisplay --- composeApp/src/commonMain/kotlin/mg/dot/feufaro/ui/QRDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/mg/dot/feufaro/ui/QRDisplay.kt b/composeApp/src/commonMain/kotlin/mg/dot/feufaro/ui/QRDisplay.kt index 06ae2cd..172c0a2 100644 --- a/composeApp/src/commonMain/kotlin/mg/dot/feufaro/ui/QRDisplay.kt +++ b/composeApp/src/commonMain/kotlin/mg/dot/feufaro/ui/QRDisplay.kt @@ -45,7 +45,7 @@ fun QRDisplay(sharedScreenModel: SharedScreenModel, fileRepository: FileReposito val content by sharedScreenModel.fileContent val path by sharedScreenModel.activeFilePath - val fileName = path.substringAfterLast('/').substringAfterLast(':') + val fileName = path.substringAfterLast('/').substringAfterLast(':').replace(' ','_') val qrCodeImage by produceState(initialValue = null, content, path) { val expandedSource = expandInclusions(