[Restore] Fixed wrong file name in RestoreActivity

This commit is contained in:
Prathamesh More 2021-12-30 12:11:56 +05:30
parent f4f4db4d47
commit 94925722ac
3 changed files with 6 additions and 8 deletions

View file

@ -459,7 +459,7 @@ object MusicPlayerRemote : KoinComponent {
songFile = File(path)
}
if (songFile == null && uri.path != null) {
songFile = File(uri.path)
songFile = File(uri.path!!)
}
if (songFile != null) {
songs = songRepository.songsByFilePath(songFile.absolutePath)