-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(android): AndroidModel should be enabled only by the env. impl …
…with `kotlin` feature Signed-off-by: Lachezar Lechev <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
pub use addons::*; | ||
#[cfg(feature = "kotlin")] | ||
pub use model::*; | ||
|
||
mod addons; | ||
mod fields; | ||
pub use addons::*; | ||
|
||
#[cfg(feature = "kotlin")] | ||
// model is only available when the feature is enabled | ||
// because of the `AndroidEnv` impl | ||
mod model; | ||
pub use model::*; |