Not using static app context wherever possible
This commit is contained in:
parent
904dd748cb
commit
5ff4438a42
15 changed files with 107 additions and 71 deletions
|
@ -124,7 +124,7 @@ object SongMenuHelper : KoinComponent {
|
|||
return true
|
||||
}
|
||||
R.id.action_add_to_blacklist -> {
|
||||
BlacklistStore.getInstance(App.getContext()).addPath(File(song.data))
|
||||
BlacklistStore.getInstance(activity).addPath(File(song.data))
|
||||
libraryViewModel.forceReload(ReloadType.Songs)
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue