mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +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) {
|
||||
final _client = CustomHttpClient.createHTTPClient();
|
||||
return Client(
|
||||
clientName,
|
||||
httpClient: _client,
|
||||
httpClient:
|
||||
PlatformInfos.isAndroid ? CustomHttpClient.createHTTPClient() : null,
|
||||
verificationMethods: {
|
||||
KeyVerificationMethod.numbers,
|
||||
if (kIsWeb || PlatformInfos.isMobile || PlatformInfos.isLinux)
|
||||
|
Loading…
Reference in New Issue
Block a user