Skip to content

Commit 2f542dd

Browse files
committed
fixup2
1 parent 036bc9a commit 2f542dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mullvad-api/src/lib.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ use async_trait::async_trait;
33
#[cfg(target_os = "android")]
44
use futures::channel::mpsc;
55
use hyper::body::Incoming;
6+
use mullvad_types::account::{AccountData, AccountNumber, VoucherSubmission};
67
#[cfg(target_os = "android")]
78
use mullvad_types::account::{PlayPurchase, PlayPurchasePaymentToken};
8-
use mullvad_types::{
9-
account::{AccountData, AccountNumber, VoucherSubmission},
10-
version::AppVersion,
11-
};
9+
#[cfg(not(target_os = "ios"))]
10+
use mullvad_types::version::AppVersion;
11+
#[cfg(not(target_os = "ios"))]
1212
use mullvad_update::version::{VersionInfo, VersionParameters};
1313
use proxy::{ApiConnectionMode, ConnectionModeProvider};
1414
use std::{
@@ -20,6 +20,7 @@ use std::{
2020
sync::Arc,
2121
};
2222
use talpid_types::ErrorExt;
23+
#[cfg(not(target_os = "ios"))]
2324
use vec1::vec1;
2425

2526
pub mod availability;

0 commit comments

Comments
 (0)