mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:05:11 +00:00
fix: only use custom http client on android
This commit is contained in:
parent
1c7b6a4953
commit
3d00d9f532
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue