mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-26 23:28:58 +03:00
Fall back to filename in backup creation notification if path not available
This commit is contained in:
parent
c0e4863229
commit
6b9180844d
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ class BackupNotifier(private val context: Context) {
|
||||||
|
|
||||||
if (unifile.filePath != null) {
|
if (unifile.filePath != null) {
|
||||||
setContentText(unifile.filePath)
|
setContentText(unifile.filePath)
|
||||||
|
} else {
|
||||||
|
setContentText(unifile.name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear old actions if they exist
|
// Clear old actions if they exist
|
||||||
|
|
Loading…
Reference in a new issue