Change parent artist navigation

Change the parent artist navigation so that its only enabled when an album is selected from LibraryFragment, otherwise dont enable it, as the user can just navigate up to see the parent artist.
This commit is contained in:
OxygenCobalt
2020-09-20 10:31:42 -06:00
parent 19a9ab4098
commit 6b56ce4ae8
5 changed files with 20 additions and 9 deletions
@@ -73,7 +73,6 @@
<TextView
android:id="@+id/artist_name"
android:background="@drawable/ripple"
android:clickable="true"
android:focusable="true"
android:layout_width="0dp"
+3
View File
@@ -58,6 +58,9 @@
<argument
android:name="albumId"
app:argType="long" />
<argument
android:name="isFromLibrary"
app:argType="boolean" />
<action
android:id="@+id/action_show_parent_artist"
app:enterAnim="@anim/fragment_fade_enter"