Code refactor
This commit is contained in:
parent
0e81e3cb48
commit
768ab295b0
3 changed files with 7 additions and 23 deletions
|
@ -24,8 +24,8 @@ android {
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
|
||||||
applicationId "code.name.monkey.retromusic"
|
applicationId "code.name.monkey.retromusic"
|
||||||
versionCode 438
|
versionCode 10438
|
||||||
versionName '3.5.650'
|
versionName '3.5.650' + "_" + getDate()
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
|
@ -53,17 +53,6 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
flavorDimensions "default"
|
|
||||||
|
|
||||||
productFlavors {
|
|
||||||
normal {
|
|
||||||
versionCode defaultConfig.versionCode + 10000
|
|
||||||
versionName defaultConfig.versionName + "_" + getDate()
|
|
||||||
dimension "default"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude 'META-INF/LICENSE'
|
exclude 'META-INF/LICENSE'
|
||||||
exclude 'META-INF/NOTICE'
|
exclude 'META-INF/NOTICE'
|
||||||
|
|
|
@ -130,9 +130,9 @@ open class MiniPlayerFragment : AbsMusicServiceFragment(), MusicProgressViewUpda
|
||||||
|
|
||||||
protected fun updatePlayPauseDrawableState() {
|
protected fun updatePlayPauseDrawableState() {
|
||||||
if (MusicPlayerRemote.isPlaying) {
|
if (MusicPlayerRemote.isPlaying) {
|
||||||
miniPlayerPlayPauseButton!!.setImageResource(R.drawable.ic_pause_white_24dp)
|
miniPlayerPlayPauseButton.setImageResource(R.drawable.ic_pause_white_24dp)
|
||||||
} else {
|
} else {
|
||||||
miniPlayerPlayPauseButton!!.setImageResource(R.drawable.ic_play_arrow_white_24dp)
|
miniPlayerPlayPauseButton.setImageResource(R.drawable.ic_play_arrow_white_24dp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,7 @@
|
||||||
android:height="64dp"
|
android:height="64dp"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<group
|
<path
|
||||||
android:pivotX="12"
|
android:fillColor="@color/md_white_1000"
|
||||||
android:pivotY="12"
|
android:pathData="M8 5v14l11-7L8 5z" />
|
||||||
android:rotation="90">
|
|
||||||
<path
|
|
||||||
android:fillColor="@color/md_white_1000"
|
|
||||||
android:pathData="M8 5v14l11-7L8 5z" />
|
|
||||||
</group>
|
|
||||||
</vector>
|
</vector>
|
Loading…
Reference in a new issue