mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20: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
|
// Set first record selected by default
|
||||||
let mut selected: u32 = 0;
|
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
|
// Add guest option
|
||||||
widget.form.list.append(
|
widget.form.list.append(
|
||||||
Value::USE_GUEST_SESSION,
|
Value::USE_GUEST_SESSION,
|
||||||
@ -43,6 +36,13 @@ impl Gemini {
|
|||||||
"No identity for this request",
|
"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
|
// Collect additional options from database
|
||||||
let mut i = 1; // start from 2'th
|
let mut i = 1; // start from 2'th
|
||||||
match profile.identity.gemini.database.records() {
|
match profile.identity.gemini.database.records() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user