Fix su protocol null per le chiamate rest nel caso in cui l'app abbia già una sessione utente avviata
This commit is contained in:
parent
fd2d4fb47b
commit
1c6cf9a02b
@ -34,7 +34,7 @@ public class SettingsModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getProtocol() {
|
public String getProtocol() {
|
||||||
return protocol;
|
return protocol == null ? "http" : protocol;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Server setProtocol(String protocol) {
|
public Server setProtocol(String protocol) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user