Make Lint happy

This commit is contained in:
ByteHamster 2020-10-25 18:16:45 +01:00
parent e767282bff
commit 587edab8b6

View File

@ -270,7 +270,7 @@ public class FeedInfoFragment extends Fragment {
DownloadRequestErrorDialogCreator.newRequestErrorDialog(getContext(), e.getMessage());
}
if (item.getItemId() == R.id.reconnect_local_folder) {
if (item.getItemId() == R.id.reconnect_local_folder && Build.VERSION.SDK_INT >= 21) {
AlertDialog.Builder alert = new AlertDialog.Builder(getContext());
alert.setMessage(R.string.reconnect_local_folder_warning);
alert.setPositiveButton(android.R.string.ok, (dialog, which) -> {