shellchat: style change in demo modals command

This commit is contained in:
Gianguido Sorà 2022-04-13 15:52:14 +02:00
parent c2e619949c
commit 63cbe0e26f

View file

@ -8,13 +8,14 @@ pub struct Ver {
// TODO: remove me
impl Ver {
fn modal(&self, env: &mut CommonEnv) {
log::info!("modal data: {:#?}", env.modals.alert_builder("Get Text")
.field(Some("first".to_string()), None)
.field(Some("second".to_string()), None)
.field(None, None)
.field(Some("fourth".to_string()), None)
.build()
);
log::info!("modal data: {:#?}",
env.modals.alert_builder("Get Text")
.field(Some("first".to_string()), None)
.field(Some("second".to_string()), None)
.field(None, None)
.field(Some("fourth".to_string()), None)
.build()
);
}
}