mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-02-23 17:34:25 +01:00
fix: WalletView don't request keyboard focus if narrow
on android it kept popping up the keyboard even when i close it Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -402,7 +402,9 @@ fn show_default_zap(
|
||||
notedeck_ui::include_input(ui, &r);
|
||||
}
|
||||
|
||||
ui.memory_mut(|m| m.request_focus(id));
|
||||
if !notedeck::ui::is_narrow(ui.ctx()) { // TODO: this should really be checking if we are using a virtual keyboard instead of narrow
|
||||
ui.memory_mut(|m| m.request_focus(id));
|
||||
}
|
||||
|
||||
ui.label(tr!(i18n, "sats", "Unit label for satoshis (Bitcoin unit) for configuring default zap amount in wallet settings."));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user