Try to show actual path in invalid location downloader notification
Instead of the class/hashCode, which doesn't mean much to a user.
This commit is contained in:
@@ -14,6 +14,7 @@ import eu.kanade.tachiyomi.util.system.notificationBuilder
|
||||
import eu.kanade.tachiyomi.util.system.notify
|
||||
import tachiyomi.core.i18n.pluralStringResource
|
||||
import tachiyomi.core.i18n.stringResource
|
||||
import tachiyomi.core.storage.displayablePath
|
||||
import tachiyomi.i18n.MR
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
import java.io.File
|
||||
@@ -73,7 +74,7 @@ class BackupNotifier(private val context: Context) {
|
||||
|
||||
with(completeNotificationBuilder) {
|
||||
setContentTitle(context.stringResource(MR.strings.backup_created))
|
||||
setContentText(file.filePath ?: file.name)
|
||||
setContentText(file.displayablePath)
|
||||
|
||||
clearActions()
|
||||
addAction(
|
||||
|
||||
Reference in New Issue
Block a user