Skip to content

Commit e3836b1

Browse files
committed
fix: setCommentMinimumCharacterCountForBugReportType
1 parent 50beca4 commit e3836b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,7 @@ public void run() {
409409
typesInts[i] = types.get(i);
410410
}
411411

412-
BugReporting.setCommentMinimumCharacterCount(limit, typesInts);
413-
} catch (Exception e) {
412+
BugReporting.setCommentMinimumCharacterCountForBugReportType(limit, typesInts); } catch (Exception e) {
414413
e.printStackTrace();
415414
}
416415
}

android/src/test/java/com/instabug/reactlibrary/RNInstabugBugReportingModuleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public Object answer(InvocationOnMock invocation) {
360360
verify(BugReporting.class, VerificationModeFactory.times(1));
361361
int type1 = args.get(keysArray[0]);
362362

363-
BugReporting.setCommentMinimumCharacterCount(count, type1);
363+
BugReporting.setCommentMinimumCharacterCountForBugReportType(count, type1);
364364
}
365365
@Test
366366
public void TestAddUserConsent() {

0 commit comments

Comments
 (0)