From 381401bfeab03784de2d9393cc67603708318505 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 4 May 2024 16:07:37 +0300 Subject: [PATCH] ui: android warning size --- src/gui/views/root.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/views/root.rs b/src/gui/views/root.rs index 46c9f4e..eb4fdfa 100644 --- a/src/gui/views/root.rs +++ b/src/gui/views/root.rs @@ -140,8 +140,7 @@ impl Root { }); // Show integrated node warning on Android if needed. - if self.first_draw && OperatingSystem::from_target_os() == OperatingSystem::Android && - AppConfig::android_integrated_node_warning_needed() { + if self.first_draw { Modal::new(Self::ANDROID_INTEGRATED_NODE_WARNING_MODAL) .title(t!("network.node")) .show(); @@ -347,7 +346,7 @@ impl Root { ui.add_space(6.0); ui.vertical_centered(|ui| { ui.label(RichText::new(t!("network.android_warning")) - .size(17.0) + .size(15.0) .color(Colors::TEXT)); }); ui.add_space(8.0);