Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: enricocid <enrico2588@gmail.com>
  • Loading branch information
enricocid committed Aug 18, 2021
1 parent 7388eea commit e5e1e6e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Latest Release -->
<a href="https://github.com/enricocid/Music-Player-GO/releases">
<img alt="GitHub release"
src="https://img.shields.io/static/v1?label=Tag&message=v4.4.3&color=58F5D1">
src="https://img.shields.io/static/v1?label=Tag&message=v4.4.4&color=58F5D1">
</a>
<!-- Minimum SDK -->
<img alt="Minimum SDK" src="https://img.shields.io/static/v1?label=API&message=21&color=32B5ED">
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/166.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Minor fixes
1 change: 1 addition & 0 deletions fastlane/metadata/android/it/changelogs/166.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Piccole correzioni
4 changes: 2 additions & 2 deletions project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.iven.musicplayergo"
minSdkVersion 21
targetSdkVersion 30
versionCode 165
versionName "4.4.3"
versionCode 166
versionName "4.4.4"

vectorDrawables.useSupportLibrary true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,10 +708,10 @@ class MainActivity : AppCompatActivity(), UIControlInterface, MediaControlInterf
setupNPCoverLayout()

mNpBinding.npPlayingSongContainer.setOnClickListener {
mNpDialog.dismiss()
mNpDialog.onDismiss {
openPlayingArtistAlbum()
}
mNpDialog.dismiss()
}

mNpControlsBinding.npSkipPrev.setOnClickListener { skip(false) }
Expand Down Expand Up @@ -1267,7 +1267,6 @@ class MainActivity : AppCompatActivity(), UIControlInterface, MediaControlInterf
synchronized(mMediaPlayerHolder.onOpenEqualizerCustom()) {
if (!sEqFragmentExpanded) {
mEqualizerFragment = EqFragment.newInstance()
mNpDialog.dismiss()
mNpDialog.onDismiss {
sCloseDetailsFragment = !sDetailsFragmentExpanded
if (sAllowCommit) {
Expand All @@ -1277,6 +1276,7 @@ class MainActivity : AppCompatActivity(), UIControlInterface, MediaControlInterf
)
}
}
mNpDialog.dismiss()
}
}
} else {
Expand Down Expand Up @@ -1340,14 +1340,14 @@ class MainActivity : AppCompatActivity(), UIControlInterface, MediaControlInterf

mMediaPlayerHolder.run {

if (isQueue == null) {
setQueueEnabled(true)
}

if (clearQueue) {
queueSongs.clear()
}

if (isQueue == null) {
setQueueEnabled(true)
}

isSingleSong?.let { song ->
if (!queueSongs.contains(song)) {
addFilteredSongsToQueue(null, song)
Expand All @@ -1370,14 +1370,13 @@ class MainActivity : AppCompatActivity(), UIControlInterface, MediaControlInterf
startSongFromQueue(song, launchedBy)

if (::mFavoritesDialog.isInitialized && mFavoritesDialog.isShowing) {
mFavoritesDialog.dismiss()
mFavoritesDialog.onDismiss {
openQueueDialog()
}
return
mFavoritesDialog.dismiss()
} else {
openQueueDialog()
}

openQueueDialog()
}
}
}
Expand Down

0 comments on commit e5e1e6e

Please sign in to comment.