fix a third party intent setter

This commit is contained in:
tibbi 2018-02-05 17:44:27 +01:00
parent d056db1c03
commit 1773b2f6c0
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.9.11'
implementation 'com.simplemobiletools:commons:3.10.0'
implementation 'com.squareup:otto:1.3.8'
implementation 'com.facebook.stetho:stetho:1.5.0'

View file

@ -406,7 +406,7 @@ class MainActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListener, RefreshR
songPicked(getSongIndex(it as Song))
}.apply {
setupDragListener(true)
this.isThirdPartyIntent = isThirdPartyIntent
isThirdPartyIntent = this@MainActivity.isThirdPartyIntent
addVerticalDividers(true)
songs_list.adapter = this
}