mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 20:40:07 +03:00
fix Unexpected newlines
This commit is contained in:
parent
d26d28f770
commit
57d224e8ba
1 changed files with 2 additions and 4 deletions
|
@ -30,12 +30,10 @@ internal class DefaultWorkManagerConfig @Inject constructor(
|
||||||
return if (disableNetworkConstraint != null) {
|
return if (disableNetworkConstraint != null) {
|
||||||
// Boolean `io.element.disable_network_constraint` explicitly set in the .well-known file
|
// Boolean `io.element.disable_network_constraint` explicitly set in the .well-known file
|
||||||
disableNetworkConstraint.not()
|
disableNetworkConstraint.not()
|
||||||
}
|
} else if (credentials.discoveryInformation?.disableNetworkConstraint == true) {
|
||||||
else if (credentials.discoveryInformation?.disableNetworkConstraint == true) {
|
|
||||||
// Boolean `io.element.disable_network_constraint` explicitly set to `true` in the login response
|
// Boolean `io.element.disable_network_constraint` explicitly set to `true` in the login response
|
||||||
false
|
false
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// Default, use the Network constraint
|
// Default, use the Network constraint
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue