From b84c702291727c58eab23e5be68cdd48016a2ad2 Mon Sep 17 00:00:00 2001 From: enricocid Date: Mon, 3 Dec 2018 17:14:20 +0100 Subject: [PATCH] Fix variable initialized two times! Signed-off-by: enricocid --- project/app/src/main/java/com/iven/musicplayergo/MainFragment.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/project/app/src/main/java/com/iven/musicplayergo/MainFragment.kt b/project/app/src/main/java/com/iven/musicplayergo/MainFragment.kt index 1c7fe262c..d9b687910 100644 --- a/project/app/src/main/java/com/iven/musicplayergo/MainFragment.kt +++ b/project/app/src/main/java/com/iven/musicplayergo/MainFragment.kt @@ -222,7 +222,6 @@ class MainFragment : Fragment() { mMusic = music if (mMusic.isNotEmpty()) { setArtistsRecyclerView() - mNavigationArtist = mArtists[0] restorePlayerStatus() } else { Toast.makeText(mActivity, getString(R.string.error_no_music), Toast.LENGTH_SHORT).show()