Skip to content

Commit

Permalink
Revert "Update GutenbergContainerFragment.java"
Browse files Browse the repository at this point in the history
This reverts commit dfccdf8.
  • Loading branch information
aditi-bhatia committed Jun 5, 2024
1 parent ea88c46 commit 5b84d73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public void updateCapabilities(GutenbergPropsBuilder gutenbergPropsBuilder) {
// We want to make sure that activity isn't null
// as it can make this crash to happen: https://github.com/wordpress-mobile/WordPress-Android/issues/13248
final Activity activity = getActivity();
if (activity != null && gutenbergPropsBuilder != null) {
if (activity != null) {
GutenbergProps gutenbergProps = gutenbergPropsBuilder.build(activity, mHtmlModeEnabled);
mWPAndroidGlueCode.updateCapabilities(gutenbergProps);
}
Expand Down

0 comments on commit 5b84d73

Please sign in to comment.