@@ -131,6 +131,8 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
131131 private final String VOICE_MESSAGE_RELEASE_TO_ATTACH = "recordingMessageToReleaseText" ;
132132
133133 private final String REPORT_SUCCESSFULLY_SENT = "thankYouText" ;
134+ private final String THANK_YOU_ALERT_TEXT = "thankYouAlertText" ;
135+
134136 private final String VIDEO_PLAYER_TITLE = "video" ;
135137
136138 private final String CONVERSATION_TEXT_FIELD_HINT = "conversationTextFieldHint" ;
@@ -1432,9 +1434,11 @@ private InstabugCustomTextPlaceHolder.Key getStringToKeyConstant(String key) {
14321434 case CONVERSATION_TEXT_FIELD_HINT :
14331435 return InstabugCustomTextPlaceHolder .Key .CONVERSATION_TEXT_FIELD_HINT ;
14341436 case REPORT_SUCCESSFULLY_SENT :
1435- return InstabugCustomTextPlaceHolder .Key .REPORT_SUCCESSFULLY_SENT ;
1437+ return InstabugCustomTextPlaceHolder .Key .SUCCESS_DIALOG_HEADER ;
14361438 case VIDEO_PLAYER_TITLE :
14371439 return InstabugCustomTextPlaceHolder .Key .VIDEO_PLAYER_TITLE ;
1440+ case THANK_YOU_ALERT_TEXT :
1441+ return InstabugCustomTextPlaceHolder .Key .REPORT_SUCCESSFULLY_SENT ;
14381442 default :
14391443 return null ;
14401444 }
@@ -1600,7 +1604,7 @@ public Map<String, Object> getConstants() {
16001604 constants .put ("thankYouText" , REPORT_SUCCESSFULLY_SENT );
16011605 constants .put ("video" , VIDEO_PLAYER_TITLE );
16021606 constants .put ("conversationTextFieldHint" , CONVERSATION_TEXT_FIELD_HINT );
1603-
1607+ constants . put ( "thankYouAlertText" , THANK_YOU_ALERT_TEXT );
16041608
16051609 return constants ;
16061610 }
0 commit comments