Skip to content

Commit

Permalink
Merge pull request #12225 from wordpress-mobile/issue-12224/tags_edit…
Browse files Browse the repository at this point in the history
…postrepository

Prepublishing Nudges : Fixed issue where rotating device would cause new tag to not persist
  • Loading branch information
oguzkocer authored Jun 19, 2020
2 parents b4ee35d + c00d840 commit eb1ab98
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ class PrepublishingTagsViewModel @Inject constructor(
val toolbarTitleUiState: LiveData<UiString> = _toolbarTitleUiState

fun start(editPostRepository: EditPostRepository) {
this.editPostRepository = editPostRepository

if (isStarted) return
isStarted = true

this.editPostRepository = editPostRepository
setToolbarTitleUiState()
}

Expand Down

0 comments on commit eb1ab98

Please sign in to comment.