ui: android warning only
This commit is contained in:
parent
381401bfea
commit
e45724cbee
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ impl Root {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Show integrated node warning on Android if needed.
|
// 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)
|
Modal::new(Self::ANDROID_INTEGRATED_NODE_WARNING_MODAL)
|
||||||
.title(t!("network.node"))
|
.title(t!("network.node"))
|
||||||
.show();
|
.show();
|
||||||
|
|
Loading…
Reference in a new issue