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 // TODO: remove me
impl Ver { impl Ver {
fn modal(&self, env: &mut CommonEnv) { fn modal(&self, env: &mut CommonEnv) {
log::info!("modal data: {:#?}", env.modals.alert_builder("Get Text") log::info!("modal data: {:#?}",
.field(Some("first".to_string()), None) env.modals.alert_builder("Get Text")
.field(Some("second".to_string()), None) .field(Some("first".to_string()), None)
.field(None, None) .field(Some("second".to_string()), None)
.field(Some("fourth".to_string()), None) .field(None, None)
.build() .field(Some("fourth".to_string()), None)
); .build()
);
} }
} }