replace hashmap index with custom gobject properties impl

This commit is contained in:
yggverse 2024-11-18 22:16:20 +02:00
parent 5d647518c0
commit 46a25306e1
4 changed files with 114 additions and 26 deletions

View file

@ -23,7 +23,7 @@ impl Gemini {
let widget = Rc::new(Widget::new());
// Add new identity option
widget.form.list.append(None, "Create new..");
widget.form.list.append(None, "Create new..", true);
// Collect additional options from database
match profile.identity.gemini.database.records() {
@ -49,6 +49,7 @@ impl Gemini {
Some(name) => format!("{name} ({expires})"),
None => format!("{expires}"),
},
true,
);
}
}