mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
remove extras
This commit is contained in:
parent
97b22fd09c
commit
f8dc2ceccd
1 changed files with 6 additions and 8 deletions
|
|
@ -24,14 +24,13 @@ impl Dialog for PreferencesDialog {
|
|||
p.add(&{
|
||||
let g = PreferencesGroup::builder().title("Meta").build();
|
||||
if let Some(ref mime) = info.mime {
|
||||
g.add(&{
|
||||
let r = ActionRow::builder()
|
||||
g.add(
|
||||
&ActionRow::builder()
|
||||
.css_classes(["property"])
|
||||
.subtitle(mime)
|
||||
.title("Content type")
|
||||
.build();
|
||||
r
|
||||
})
|
||||
.build(),
|
||||
)
|
||||
}
|
||||
g
|
||||
});
|
||||
|
|
@ -42,12 +41,11 @@ impl Dialog for PreferencesDialog {
|
|||
if let Some(ref size) = info.size {
|
||||
g.add(&{
|
||||
use crate::tool::Format;
|
||||
let r = ActionRow::builder()
|
||||
ActionRow::builder()
|
||||
.css_classes(["property"])
|
||||
.subtitle(size.bytes())
|
||||
.title("Content")
|
||||
.build();
|
||||
r
|
||||
.build()
|
||||
})
|
||||
}
|
||||
g
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue