fix: adjust Cargo features to fix android build (#375)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-19 06:59:26 -07:00
committed by GitHub
parent ba4ef9a037
commit fdec66c69f
10 changed files with 53 additions and 25 deletions
+1
View File
@@ -69,6 +69,7 @@ impl<R: Runtime> Dialog<R> {
/// Initializes the plugin.
pub fn init<R: Runtime>() -> TauriPlugin<R> {
#[allow(unused_mut)]
let mut builder = Builder::new("dialog");
// Dialogs are implemented natively on Android