mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +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(&{
|
p.add(&{
|
||||||
let g = PreferencesGroup::builder().title("Meta").build();
|
let g = PreferencesGroup::builder().title("Meta").build();
|
||||||
if let Some(ref mime) = info.mime {
|
if let Some(ref mime) = info.mime {
|
||||||
g.add(&{
|
g.add(
|
||||||
let r = ActionRow::builder()
|
&ActionRow::builder()
|
||||||
.css_classes(["property"])
|
.css_classes(["property"])
|
||||||
.subtitle(mime)
|
.subtitle(mime)
|
||||||
.title("Content type")
|
.title("Content type")
|
||||||
.build();
|
.build(),
|
||||||
r
|
)
|
||||||
})
|
|
||||||
}
|
}
|
||||||
g
|
g
|
||||||
});
|
});
|
||||||
|
|
@ -42,12 +41,11 @@ impl Dialog for PreferencesDialog {
|
||||||
if let Some(ref size) = info.size {
|
if let Some(ref size) = info.size {
|
||||||
g.add(&{
|
g.add(&{
|
||||||
use crate::tool::Format;
|
use crate::tool::Format;
|
||||||
let r = ActionRow::builder()
|
ActionRow::builder()
|
||||||
.css_classes(["property"])
|
.css_classes(["property"])
|
||||||
.subtitle(size.bytes())
|
.subtitle(size.bytes())
|
||||||
.title("Content")
|
.title("Content")
|
||||||
.build();
|
.build()
|
||||||
r
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
g
|
g
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue