Tiny cleanup on local feeds

This commit is contained in:
ByteHamster 2020-10-25 20:30:17 +01:00
parent 1a1b663404
commit 2db4835b20
2 changed files with 1 additions and 8 deletions

View File

@ -89,8 +89,6 @@ public class AddFeedFragment extends Fragment {
});
root.findViewById(R.id.btn_add_local_folder).setOnClickListener(v -> {
if (Build.VERSION.SDK_INT < 21) {
((MainActivity) getActivity()).showSnackbarAbovePlayer(
"Local folders are only supported on Android 5.0 and later", Snackbar.LENGTH_LONG);
return;
}
try {

View File

@ -99,14 +99,9 @@
android:id="@+id/btn_add_local_folder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawablePadding="8dp"
app:drawableStartCompat="?attr/ic_folder"
app:drawableLeftCompat="?attr/ic_folder"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:background="?android:attr/selectableItemBackground"
android:textColor="?android:attr/textColorPrimary"
android:clickable="true"
style="@style/AddPodcastTextView"
android:text="@string/add_local_folder"/>
<TextView