Merge pull request #4596 from ByteHamster/local-feed-cleanup
Tiny cleanup on local feeds
This commit is contained in:
commit
885362e5eb
@ -89,8 +89,6 @@ public class AddFeedFragment extends Fragment {
|
|||||||
});
|
});
|
||||||
root.findViewById(R.id.btn_add_local_folder).setOnClickListener(v -> {
|
root.findViewById(R.id.btn_add_local_folder).setOnClickListener(v -> {
|
||||||
if (Build.VERSION.SDK_INT < 21) {
|
if (Build.VERSION.SDK_INT < 21) {
|
||||||
((MainActivity) getActivity()).showSnackbarAbovePlayer(
|
|
||||||
"Local folders are only supported on Android 5.0 and later", Snackbar.LENGTH_LONG);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
@ -99,14 +99,9 @@
|
|||||||
android:id="@+id/btn_add_local_folder"
|
android:id="@+id/btn_add_local_folder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/ic_folder"
|
app:drawableStartCompat="?attr/ic_folder"
|
||||||
app:drawableLeftCompat="?attr/ic_folder"
|
app:drawableLeftCompat="?attr/ic_folder"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/add_local_folder"/>
|
android:text="@string/add_local_folder"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
Loading…
x
Reference in New Issue
Block a user