File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
WordPress/src/main/java/org/wordpress/android/ui/posts Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2332,10 +2332,8 @@ public void run() {
23322332 definitelyDeleteBackspaceDeletedMediaItems ();
23332333
23342334 if (shouldSave ) {
2335- PostStatus status = PostStatus .fromPost (mPost );
23362335 boolean isNotRestarting = mRestartEditorOption == RestartEditorOptions .NO_RESTART ;
2337- if ((status == PostStatus .DRAFT || status == PostStatus .PENDING ) && isPublishable
2338- && !hasFailedMedia () && NetworkUtils .isNetworkAvailable (getBaseContext ())
2336+ if (isPublishable && !hasFailedMedia () && NetworkUtils .isNetworkAvailable (getBaseContext ())
23392337 && isNotRestarting && mSite .isUsingWpComRestApi ()) {
23402338 mPostEditorAnalyticsSession .setOutcome (Outcome .SAVE );
23412339 // this method will invoke remote-auto-save which isn't supported on self-hosted sites
You can’t perform that action at this time.
0 commit comments