deleted unnecessary boolean variable
This commit is contained in:
parent
f29c5944eb
commit
58db8de4c7
1 changed files with 1 additions and 2 deletions
|
@ -107,8 +107,7 @@ public class EditFavoriteGroupDialogFragment extends MenuBottomSheetDialogFragme
|
|||
popup.setContentWidth(AndroidUtils.dpToPx(app, 200f));
|
||||
popup.setModal(true);
|
||||
popup.setDropDownGravity(Gravity.END | Gravity.TOP);
|
||||
boolean orientationPortrait = AndroidUiHelper.isOrientationPortrait(getActivity());
|
||||
if (orientationPortrait) {
|
||||
if (AndroidUiHelper.isOrientationPortrait(getActivity())) {
|
||||
popup.setVerticalOffset(AndroidUtils.dpToPx(app, 48f));
|
||||
} else {
|
||||
popup.setVerticalOffset(AndroidUtils.dpToPx(app, -48f));
|
||||
|
|
Loading…
Reference in a new issue