mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
reorder options
This commit is contained in:
parent
df0ed2dc0c
commit
3064b530ea
@ -29,13 +29,6 @@ impl Gemini {
|
||||
// Set first record selected by default
|
||||
let mut selected: u32 = 0;
|
||||
|
||||
// Add new identity option
|
||||
widget.form.list.append(
|
||||
Value::GENERATE_NEW_AUTH,
|
||||
"Create new",
|
||||
"Generate long-term certificate",
|
||||
);
|
||||
|
||||
// Add guest option
|
||||
widget.form.list.append(
|
||||
Value::USE_GUEST_SESSION,
|
||||
@ -43,6 +36,13 @@ impl Gemini {
|
||||
"No identity for this request",
|
||||
);
|
||||
|
||||
// Add new identity option
|
||||
widget.form.list.append(
|
||||
Value::GENERATE_NEW_AUTH,
|
||||
"Create new",
|
||||
"Generate long-term certificate",
|
||||
);
|
||||
|
||||
// Collect additional options from database
|
||||
let mut i = 1; // start from 2'th
|
||||
match profile.identity.gemini.database.records() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user