Fix bug with permission checking

Fix a bug with the permission checking where the MusicRepository would return NO_PERMS to the LoadingFragment faster than the creation of the view, causing the error message to never display. Permission checks are now handled by LoadingFragment instead.
This commit is contained in:
OxygenCobalt
2020-09-03 18:15:44 -06:00
parent ce687cd515
commit d017774cef
6 changed files with 60 additions and 53 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorPrimary">
android:color="@color/selection_color">
<!-- TODO: Find better color to override -->
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="?attr/colorPrimary" />
<solid android:color="@color/selection_color" />
</shape>
</item>
</ripple>