deactivate welcome dialog, auto-generate profile on first launch, remove extra references, draft bookmarks model

This commit is contained in:
yggverse 2024-11-14 06:00:41 +02:00
parent f81e496fa4
commit b441a681f7
7 changed files with 75 additions and 25 deletions

View file

@ -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);