Browse Source

fix indentations

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
committed by GitHub
parent
commit
78caa4286a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java

10
app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java

@ -447,12 +447,12 @@ public class StoryViewerFragment extends Fragment {
} }
}); });
binding.swipeUp.setOnClickListener(v -> { binding.swipeUp.setOnClickListener(v -> {
final Object tag = v.getTag();
if (tag instanceof CharSequence) {
final Object tag = v.getTag();
if (tag instanceof CharSequence) {
new AlertDialog.Builder(context) new AlertDialog.Builder(context)
.setTitle(R.string.swipe_up_confirmation)
.setMessage(tag.toString()).setPositiveButton(R.string.yes, (d, w) -> Utils.openURL(context, tag.toString()))
.setNegativeButton(R.string.no, (d, w) -> d.dismiss()).show();
.setTitle(R.string.swipe_up_confirmation)
.setMessage(tag.toString()).setPositiveButton(R.string.yes, (d, w) -> Utils.openURL(context, tag.toString()))
.setNegativeButton(R.string.no, (d, w) -> d.dismiss()).show();
} }
}); });
binding.viewStoryPost.setOnClickListener(v -> { binding.viewStoryPost.setOnClickListener(v -> {

Loading…
Cancel
Save