diff --git a/WordPress/src/main/java/org/wordpress/android/ui/main/MainActionListItem.kt b/WordPress/src/main/java/org/wordpress/android/ui/main/MainActionListItem.kt index c64a2df2e86b..755e674dfc0c 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/main/MainActionListItem.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/main/MainActionListItem.kt @@ -14,7 +14,7 @@ sealed class MainActionListItem { CREATE_NEW_PAGE_FROM_PAGES_CARD, CREATE_NEW_POST, ANSWER_BLOGGING_PROMPT, - CREATE_NEW_POST_FROM_AUDIO_AI + CREATE_NEW_POST_FROM_AUDIO } data class CreateAction( diff --git a/WordPress/src/main/java/org/wordpress/android/ui/main/WPMainActivity.java b/WordPress/src/main/java/org/wordpress/android/ui/main/WPMainActivity.java index 8b4281d9cb94..3fa7113bc2be 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/main/WPMainActivity.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/main/WPMainActivity.java @@ -720,7 +720,7 @@ private void initViewModel() { mViewModel.getCreateAction().observe(this, createAction -> { switch (createAction) { - case CREATE_NEW_POST_FROM_AUDIO_AI: + case CREATE_NEW_POST_FROM_AUDIO: launchVoiceToContent(); break; case CREATE_NEW_POST: diff --git a/WordPress/src/main/java/org/wordpress/android/viewmodel/main/WPMainActivityViewModel.kt b/WordPress/src/main/java/org/wordpress/android/viewmodel/main/WPMainActivityViewModel.kt index 8c278ea462a5..2a3c932cd678 100644 --- a/WordPress/src/main/java/org/wordpress/android/viewmodel/main/WPMainActivityViewModel.kt +++ b/WordPress/src/main/java/org/wordpress/android/viewmodel/main/WPMainActivityViewModel.kt @@ -208,7 +208,7 @@ class WPMainActivityViewModel @Inject constructor( if (voiceToContentFeatureUtils.isVoiceToContentEnabled() && hasFullAccessToContent(site)) { actionsList.add( CreateAction( - actionType = ActionType.CREATE_NEW_POST_FROM_AUDIO_AI, + actionType = ActionType.CREATE_NEW_POST_FROM_AUDIO, iconRes = R.drawable.ic_mic_white_24dp, labelRes = R.string.my_site_bottom_sheet_add_post_from_audio, onClickAction = ::onCreateActionClicked