Skip to content

Commit

Permalink
Fix opening quickpress shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarm committed Jun 11, 2024
1 parent 82a794b commit 98b27b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ class EditPostActivity : LocaleAwareActivity(), EditorFragmentActivity, EditorIm
val hasQuickPressBlogId = extras.containsKey(EditPostActivityConstants.EXTRA_QUICKPRESS_BLOG_ID)

// QuickPress might want to use a different blog than the current blog
return if (!isActionSendOrNewMedia && !hasQuickPressFlag && hasQuickPressBlogId) {
return if ((isActionSendOrNewMedia || hasQuickPressFlag) && hasQuickPressBlogId) {
val localSiteId = intent.getIntExtra(EditPostActivityConstants.EXTRA_QUICKPRESS_BLOG_ID, -1)
siteStore.getSiteByLocalId(localSiteId)
} else {
Expand Down

0 comments on commit 98b27b1

Please sign in to comment.