Skip to content

Commit 777635b

Browse files
committed
split MediaUtils in MediaUtils and WordPressMediaUtils - remove references to WordPress.java in MediaUtils
1 parent 0c60b07 commit 777635b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public abstract class EditorFragmentAbstract extends Fragment {
1717

1818
protected EditorFragmentListener mEditorFragmentListener;
1919
protected boolean mFeaturedImageSupported;
20+
protected String mBlogSettingMaxImageWidth;
2021

2122
@Override
2223
public void onAttach(Activity activity) {
@@ -32,6 +33,10 @@ public void setFeaturedImageSupported(boolean featuredImageSupported) {
3233
mFeaturedImageSupported = featuredImageSupported;
3334
}
3435

36+
public void setBlogSettingMaxImageWidth(String blogSettingMaxImageWidth) {
37+
mBlogSettingMaxImageWidth = blogSettingMaxImageWidth;
38+
}
39+
3540
/**
3641
* Called by the activity when back button is pressed.
3742
*/

0 commit comments

Comments
 (0)