reorder options

This commit is contained in:
yggverse 2024-11-20 20:00:59 +02:00
parent df0ed2dc0c
commit 3064b530ea

View File

@ -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() {