fix: Actually show the uri

This commit is contained in:
ziro 2024-01-10 18:30:51 +07:00
parent 1f602766f7
commit 68fdeb7a9e
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -126,7 +126,7 @@ class SettingsBackupController : SettingsController() {
.onEach { path ->
val dir = UniFile.fromUri(context, path.toUri())
val filePath = dir.filePath
summary = if (filePath != null) "$filePath/automatic" else "Invalid directory: $dir"
summary = if (filePath != null) "$filePath/automatic" else "Invalid directory: ${dir.uri}"
}
.launchIn(viewScope)
}