Add error message for old Android versions
This commit is contained in:
parent
c8a2f20000
commit
b9c63ca992
|
@ -89,6 +89,8 @@ 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 {
|
||||
|
|
Loading…
Reference in New Issue