mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-20 08:00:39 +01:00
fix: only use custom http client on android
This commit is contained in:
parent
a3d41da047
commit
ed2d208339
@ -84,10 +84,10 @@ abstract class ClientManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static Client createClient(String clientName) {
|
static Client createClient(String clientName) {
|
||||||
final _client = CustomHttpClient.createHTTPClient();
|
|
||||||
return Client(
|
return Client(
|
||||||
clientName,
|
clientName,
|
||||||
httpClient: _client,
|
httpClient:
|
||||||
|
PlatformInfos.isAndroid ? CustomHttpClient.createHTTPClient() : null,
|
||||||
verificationMethods: {
|
verificationMethods: {
|
||||||
KeyVerificationMethod.numbers,
|
KeyVerificationMethod.numbers,
|
||||||
if (kIsWeb || PlatformInfos.isMobile || PlatformInfos.isLinux)
|
if (kIsWeb || PlatformInfos.isMobile || PlatformInfos.isLinux)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user