Skip to content

Commit a53e226

Browse files
Fix stringToKey type error
1 parent f764e0f commit a53e226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,9 +776,9 @@ public void setStringToKey(String string, String key) {
776776
}
777777
}
778778

779-
private String getStringToKeyConstant(String key) {
779+
private InstabugCustomTextPlaceHolder.Key getStringToKeyConstant(String key) {
780780
String keyInLowerCase = key.toLowerCase();
781-
switch (localeInLowerCase) {
781+
switch (keyInLowerCase) {
782782
case SHAKE_HINT:
783783
return InstabugCustomTextPlaceHolder.Key.SHAKE_HINT;
784784
case SWIPE_HINT:

0 commit comments

Comments
 (0)