From 6b9180844deee00b23a60a8f265110716754876e Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 27 Nov 2020 21:38:26 -0500 Subject: [PATCH] Fall back to filename in backup creation notification if path not available --- .../main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt index 5aa75365ea..020f0d5d40 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt @@ -68,6 +68,8 @@ class BackupNotifier(private val context: Context) { if (unifile.filePath != null) { setContentText(unifile.filePath) + } else { + setContentText(unifile.name) } // Clear old actions if they exist