Skip to content

Commit a62dd4c

Browse files
committed
📝 Change the title of the visual user steps enum to enabledWithNoScreenshots
1 parent 68f4ec4 commit a62dd4c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
9595
private final String EXTENDED_BUG_REPORT_DISABLED = "disabled";
9696

9797
//Instabug repro step modes
98-
private final String ENABLED_WITH_NO_SCREENSHOT = "enabledWithNoScreenshot";
98+
private final String ENABLED_WITH_NO_SCREENSHOTS = "enabledWithNoScreenshots";
9999
private final String ENABLED = "enabled";
100100
private final String DISABLED = "disabled";
101101

@@ -1233,7 +1233,7 @@ public void clearFileAttachment() {
12331233
}
12341234

12351235
/**
1236-
* Sets whether user steps tracking is visual, non visula or disabled.
1236+
* Sets whether user steps tracking is visual, non visual or disabled.
12371237
*
12381238
* @param reproStepsMode A string to set user steps tracking to be
12391239
* enabled, non visual or disabled.
@@ -1242,7 +1242,7 @@ public void clearFileAttachment() {
12421242
public void setReproStepsMode(String reproStepsMode) {
12431243
try {
12441244
switch(reproStepsMode) {
1245-
case ENABLED_WITH_NO_SCREENSHOT:
1245+
case ENABLED_WITH_NO_SCREENSHOTS:
12461246
Instabug.setReproStepsState(State.ENABLED_WITH_NO_SCREENSHOTS);
12471247
break;
12481248
case ENABLED:
@@ -1508,7 +1508,7 @@ public Map<String, Object> getConstants() {
15081508
constants.put("enabledWithOptionalFields", EXTENDED_BUG_REPORT_OPTIONAL_FIELDS);
15091509
constants.put("disabled", EXTENDED_BUG_REPORT_DISABLED);
15101510

1511-
constants.put("reproStepsEnabledWithNoScreenshot", ENABLED_WITH_NO_SCREENSHOT);
1511+
constants.put("reproStepsEnabledWithNoScreenshots", ENABLED_WITH_NO_SCREENSHOTS);
15121512
constants.put("reproStepsEnabled", ENABLED);
15131513
constants.put("reproStepsDisabled", DISABLED);
15141514

‎index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ module.exports = {
920920
reproStepsMode: {
921921
enabled: Instabug.reproStepsEnabled,
922922
disabled: Instabug.reproStepsDisabled,
923-
enabledWithNoScreenshot: Instabug.reproStepsEnabledWithNoScreenshot,
923+
enabledWithNoScreenshots: Instabug.reproStepsEnabledWithNoScreenshots,
924924
},
925925

926926
/**

‎ios/RNInstabug/InstabugReactBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ - (NSDictionary *)constantsToExport
406406

407407
@"reproStepsEnabled": @(IBGUserStepsModeEnable),
408408
@"reproStepsDisabled": @(IBGUserStepsModeDisable),
409-
@"reproStepsEnabledWithNoScreenshot": @(IBGUserStepsModeEnabledWithNoScreenshots),
409+
@"reproStepsEnabledWithNoScreenshots": @(IBGUserStepsModeEnabledWithNoScreenshots),
410410

411411
@"reportTypeBug": @(IBGReportTypeBug),
412412
@"reportTypeFeedback": @(IBGReportTypeFeedback),

‎ios/RNInstabug/RCTConvert+InstabugEnums.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ @implementation RCTConvert (InstabugEnums)
3737
RCT_ENUM_CONVERTER(IBGUserStepsMode, (@{
3838
@"reproStepsEnabled": @(IBGUserStepsModeEnable),
3939
@"reproStepsDisabled": @(IBGUserStepsModeDisable),
40-
@"reproStepsEnabledWithNoScreenshot": @(IBGUserStepsModeEnabledWithNoScreenshots)
40+
@"reproStepsEnabledWithNoScreenshots": @(IBGUserStepsModeEnabledWithNoScreenshots)
4141
}), IBGUserStepsModeEnable, integerValue)
4242

4343
RCT_ENUM_CONVERTER(IBGExtendedBugReportMode, (@{

0 commit comments

Comments
 (0)