Merge pull request #4596 from ByteHamster/local-feed-cleanup

Tiny cleanup on local feeds
This commit is contained in:
ByteHamster 2020-10-26 09:07:01 +01:00 committed by GitHub
commit 885362e5eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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