Fix setUserName typo

This commit is contained in:
DevHossamHassan 2017-05-07 05:05:36 +02:00
parent 0552549856
commit f517f9d9d3
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
* @param username
*/
@ReactMethod
public void setUsername(String username) {
public void setUserName(String username) {
try {
mInstabug.setUsername(username);
mInstabug.setUserName(username);
} catch (Exception e) {
e.printStackTrace();
}