@@ -131,6 +131,8 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
131
131
private final String VOICE_MESSAGE_RELEASE_TO_ATTACH = "recordingMessageToReleaseText" ;
132
132
133
133
private final String REPORT_SUCCESSFULLY_SENT = "thankYouText" ;
134
+ private final String THANK_YOU_ALERT_TEXT = "thankYouAlertText" ;
135
+
134
136
private final String VIDEO_PLAYER_TITLE = "video" ;
135
137
136
138
private final String CONVERSATION_TEXT_FIELD_HINT = "conversationTextFieldHint" ;
@@ -1432,9 +1434,11 @@ private InstabugCustomTextPlaceHolder.Key getStringToKeyConstant(String key) {
1432
1434
case CONVERSATION_TEXT_FIELD_HINT :
1433
1435
return InstabugCustomTextPlaceHolder .Key .CONVERSATION_TEXT_FIELD_HINT ;
1434
1436
case REPORT_SUCCESSFULLY_SENT :
1435
- return InstabugCustomTextPlaceHolder .Key .REPORT_SUCCESSFULLY_SENT ;
1437
+ return InstabugCustomTextPlaceHolder .Key .SUCCESS_DIALOG_HEADER ;
1436
1438
case VIDEO_PLAYER_TITLE :
1437
1439
return InstabugCustomTextPlaceHolder .Key .VIDEO_PLAYER_TITLE ;
1440
+ case THANK_YOU_ALERT_TEXT :
1441
+ return InstabugCustomTextPlaceHolder .Key .REPORT_SUCCESSFULLY_SENT ;
1438
1442
default :
1439
1443
return null ;
1440
1444
}
@@ -1600,7 +1604,7 @@ public Map<String, Object> getConstants() {
1600
1604
constants .put ("thankYouText" , REPORT_SUCCESSFULLY_SENT );
1601
1605
constants .put ("video" , VIDEO_PLAYER_TITLE );
1602
1606
constants .put ("conversationTextFieldHint" , CONVERSATION_TEXT_FIELD_HINT );
1603
-
1607
+ constants . put ( "thankYouAlertText" , THANK_YOU_ALERT_TEXT );
1604
1608
1605
1609
return constants ;
1606
1610
}
0 commit comments