ui: android warning size

This commit is contained in:
ardocrat 2024-05-04 16:07:37 +03:00
parent ae4b615256
commit 381401bfea

View file

@ -140,8 +140,7 @@ impl Root {
}); });
// Show integrated node warning on Android if needed. // Show integrated node warning on Android if needed.
if self.first_draw && OperatingSystem::from_target_os() == OperatingSystem::Android && if self.first_draw {
AppConfig::android_integrated_node_warning_needed() {
Modal::new(Self::ANDROID_INTEGRATED_NODE_WARNING_MODAL) Modal::new(Self::ANDROID_INTEGRATED_NODE_WARNING_MODAL)
.title(t!("network.node")) .title(t!("network.node"))
.show(); .show();
@ -347,7 +346,7 @@ impl Root {
ui.add_space(6.0); ui.add_space(6.0);
ui.vertical_centered(|ui| { ui.vertical_centered(|ui| {
ui.label(RichText::new(t!("network.android_warning")) ui.label(RichText::new(t!("network.android_warning"))
.size(17.0) .size(15.0)
.color(Colors::TEXT)); .color(Colors::TEXT));
}); });
ui.add_space(8.0); ui.add_space(8.0);