Code refactor

This commit is contained in:
Hemanth S 2020-07-15 01:49:12 +05:30
parent 0e81e3cb48
commit 768ab295b0
3 changed files with 7 additions and 23 deletions

View file

@ -24,8 +24,8 @@ android {
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
versionCode 438
versionName '3.5.650'
versionCode 10438
versionName '3.5.650' + "_" + getDate()
multiDexEnabled true
@ -53,17 +53,6 @@ android {
}
}
flavorDimensions "default"
productFlavors {
normal {
versionCode defaultConfig.versionCode + 10000
versionName defaultConfig.versionName + "_" + getDate()
dimension "default"
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'

View file

@ -130,9 +130,9 @@ open class MiniPlayerFragment : AbsMusicServiceFragment(), MusicProgressViewUpda
protected fun updatePlayPauseDrawableState() {
if (MusicPlayerRemote.isPlaying) {
miniPlayerPlayPauseButton!!.setImageResource(R.drawable.ic_pause_white_24dp)
miniPlayerPlayPauseButton.setImageResource(R.drawable.ic_pause_white_24dp)
} else {
miniPlayerPlayPauseButton!!.setImageResource(R.drawable.ic_play_arrow_white_24dp)
miniPlayerPlayPauseButton.setImageResource(R.drawable.ic_play_arrow_white_24dp)
}
}

View file

@ -17,12 +17,7 @@
android:height="64dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group
android:pivotX="12"
android:pivotY="12"
android:rotation="90">
<path
android:fillColor="@color/md_white_1000"
android:pathData="M8 5v14l11-7L8 5z" />
</group>
<path
android:fillColor="@color/md_white_1000"
android:pathData="M8 5v14l11-7L8 5z" />
</vector>