mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-24 23:03:57 +01:00
ui: scan padding fix, remove connection ping log
This commit is contained in:
@@ -916,7 +916,7 @@ impl WalletMessages {
|
||||
.size(17.0)
|
||||
.color(Colors::RED));
|
||||
});
|
||||
ui.add_space(6.0);
|
||||
ui.add_space(12.0);
|
||||
|
||||
// Setup spacing between buttons.
|
||||
ui.spacing_mut().item_spacing = egui::Vec2::new(6.0, 0.0);
|
||||
|
||||
@@ -572,18 +572,18 @@ impl WalletTransactions {
|
||||
// Show buttons to close modal or come back to text request content.
|
||||
ui.columns(2, |cols| {
|
||||
cols[0].vertical_centered_justified(|ui| {
|
||||
View::button(ui, t!("back"), Colors::WHITE, || {
|
||||
self.tx_info_qr_code_content.clear_state();
|
||||
self.tx_info_show_qr = false;
|
||||
});
|
||||
});
|
||||
cols[1].vertical_centered_justified(|ui| {
|
||||
View::button(ui, t!("close"), Colors::WHITE, || {
|
||||
self.tx_info_qr_code_content.clear_state();
|
||||
self.tx_info_show_qr = false;
|
||||
modal.close();
|
||||
});
|
||||
});
|
||||
cols[1].vertical_centered_justified(|ui| {
|
||||
View::button(ui, t!("back"), Colors::WHITE, || {
|
||||
self.tx_info_qr_code_content.clear_state();
|
||||
self.tx_info_show_qr = false;
|
||||
});
|
||||
});
|
||||
});
|
||||
} else if self.tx_info_show_scanner {
|
||||
// Show buttons to close modal or scanner.
|
||||
@@ -715,7 +715,6 @@ impl WalletTransactions {
|
||||
self.tx_info_show_scanner = false;
|
||||
} else {
|
||||
self.tx_info_scanner_content.ui(ui, cb);
|
||||
ui.add_space(2.0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user