From 398554fe1f45f112c587a045018eaa0bb352cc82 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Mon, 22 Apr 2024 02:47:51 +1000 Subject: [PATCH] fixup! feat: add LiteDB => Sqlite importer --- ChatTwo/Ui/LegacyMesasgeImporterWindow.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ChatTwo/Ui/LegacyMesasgeImporterWindow.cs b/ChatTwo/Ui/LegacyMesasgeImporterWindow.cs index 0c2eece..d7bb412 100644 --- a/ChatTwo/Ui/LegacyMesasgeImporterWindow.cs +++ b/ChatTwo/Ui/LegacyMesasgeImporterWindow.cs @@ -46,7 +46,6 @@ internal class LegacyMesasgeImporterWindow : Window }); // TODO: clicking does not dismiss notification.Click += _ => IsOpen = true; - notification.Dismiss += _ => WriteChatMessage(); break; } @@ -60,20 +59,13 @@ internal class LegacyMesasgeImporterWindow : Window Content = "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.Dismiss += _ => WriteChatMessage(); 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() { if (Importer != null)