fix indentations

This commit is contained in:
Austin Huang 2021-05-18 17:14:28 -04:00 committed by GitHub
parent 892bfa336f
commit 78caa4286a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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