fixup! feat: add LiteDB => Sqlite importer
This commit is contained in:
@@ -46,7 +46,6 @@ internal class LegacyMesasgeImporterWindow : Window
|
|||||||
});
|
});
|
||||||
// TODO: clicking does not dismiss
|
// TODO: clicking does not dismiss
|
||||||
notification.Click += _ => IsOpen = true;
|
notification.Click += _ => IsOpen = true;
|
||||||
notification.Dismiss += _ => WriteChatMessage();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,20 +59,13 @@ internal class LegacyMesasgeImporterWindow : Window
|
|||||||
Content =
|
Content =
|
||||||
"Migration is not possible because the old database could not be opened. Click for more information."
|
"Migration is not possible because the old database could not be opened. Click for more information."
|
||||||
});
|
});
|
||||||
|
// TODO: clicking does not dismiss
|
||||||
notification.Click += _ => IsOpen = true;
|
notification.Click += _ => IsOpen = true;
|
||||||
notification.Dismiss += _ => WriteChatMessage();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void WriteChatMessage()
|
|
||||||
{
|
|
||||||
// TODO: write a message to chat saying how to open the window again
|
|
||||||
// TODO: add a way of opening the window again, maybe a command or in
|
|
||||||
// database settings
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
if (Importer != null)
|
if (Importer != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user