Skip to content

Commit

Permalink
fixup: ios
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 2, 2024
1 parent fae230d commit fa0f653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mullvad-api/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{

use crate::{
rest::{self, MullvadRestHandle},
AccountsProxy, DevicesProxy, NullDnsResolver,
AccountsProxy, DevicesProxy,
};

mod device;
Expand Down Expand Up @@ -209,11 +209,11 @@ impl FfiClient {
}

fn device_proxy(&self) -> DevicesProxy {
crate::DevicesProxy::new(self.rest_handle(NullDnsResolver))
crate::DevicesProxy::new(self.rest_handle())
}

fn accounts_proxy(&self) -> AccountsProxy {
crate::AccountsProxy::new(self.rest_handle(NullDnsResolver))
crate::AccountsProxy::new(self.rest_handle())
}

fn tokio_handle(&self) -> tokio::runtime::Handle {
Expand Down
1 change: 0 additions & 1 deletion mullvad-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ impl Runtime {
Runtime {
handle,
address_cache: AddressCache::with_static_addr(address),
dns_resolver: Arc::new(NullDnsResolver),
api_availability: ApiAvailability::default(),
}
}
Expand Down

0 comments on commit fa0f653

Please sign in to comment.