Fix! replace space with '_' on filename on QRDisplay
This commit is contained in:
parent
544e393b22
commit
1391d0fe8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue