Use variable instead of method call
This commit is contained in:
parent
bf0df9b29d
commit
6cf701cd1f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public abstract class BottomSheetDialogFragment extends DialogFragment {
|
|||
BottomSheetDialog dialog = new BottomSheetDialog(getContext(), themeId);
|
||||
dialog.setCanceledOnTouchOutside(true);
|
||||
Window window = dialog.getWindow();
|
||||
if (!getMyApplication().getSettings().DO_NOT_USE_ANIMATIONS.get() && window != null) {
|
||||
if (!settings.DO_NOT_USE_ANIMATIONS.get() && window != null) {
|
||||
window.getAttributes().windowAnimations = R.style.Animations_PopUpMenu_Bottom;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue