Browse Source

chore(android): update types for device version fields

pull/8/head
isra el 2 years ago
parent
commit
2013ee5f7e
  1. 6
      android/app/src/main/java/com/vernu/sms/dtos/RegisterDeviceInputDTO.java

6
android/app/src/main/java/com/vernu/sms/dtos/RegisterDeviceInputDTO.java

@ -11,7 +11,7 @@ public class RegisterDeviceInputDTO {
private String os; private String os;
private String osVersion; private String osVersion;
private String appVersionName; private String appVersionName;
private String appVersionCode;
private int appVersionCode;
public RegisterDeviceInputDTO() { public RegisterDeviceInputDTO() {
} }
@ -100,11 +100,11 @@ public class RegisterDeviceInputDTO {
this.appVersionName = appVersionName; this.appVersionName = appVersionName;
} }
public String getAppVersionCode() {
public int getAppVersionCode() {
return appVersionCode; return appVersionCode;
} }
public void setAppVersionCode(String appVersionCode) {
public void setAppVersionCode(int appVersionCode) {
this.appVersionCode = appVersionCode; this.appVersionCode = appVersionCode;
} }
} }
Loading…
Cancel
Save