mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
deactivate welcome dialog, auto-generate profile on first launch, remove extra references, draft bookmarks model
This commit is contained in:
parent
f81e496fa4
commit
b441a681f7
7 changed files with 75 additions and 25 deletions
|
|
@ -30,8 +30,8 @@ impl Database {
|
|||
select(&tx).unwrap()
|
||||
}
|
||||
|
||||
/// Get selected profile record if exist
|
||||
pub fn selected(&self) -> Option<Table> {
|
||||
/// Get active profile record if exist
|
||||
pub fn active(&self) -> Option<Table> {
|
||||
for record in self.records() {
|
||||
if record.is_active {
|
||||
return Some(record);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue