From e45724cbee047b71098ecbb5a1618f96f8979bda Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 4 May 2024 16:08:31 +0300 Subject: [PATCH] ui: android warning only --- src/gui/views/root.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/views/root.rs b/src/gui/views/root.rs index eb4fdfa..febb48f 100644 --- a/src/gui/views/root.rs +++ b/src/gui/views/root.rs @@ -140,7 +140,8 @@ impl Root { }); // Show integrated node warning on Android if needed. - if self.first_draw { + if self.first_draw && OperatingSystem::from_target_os() == OperatingSystem::Android && + AppConfig::android_integrated_node_warning_needed() { Modal::new(Self::ANDROID_INTEGRATED_NODE_WARNING_MODAL) .title(t!("network.node")) .show();