diff --git a/Project.Persistence/SQLite.cs b/Project.Persistence/SQLite.cs index 73b5e35..adf1054 100644 --- a/Project.Persistence/SQLite.cs +++ b/Project.Persistence/SQLite.cs @@ -7,7 +7,11 @@ public partial class SQLite //filepath for home-pc: //private static string _dbPath = "C:/Users/Soi/Desktop/keywi.db"; //filepath for work-laptop: - private static string _dbPath = "C:/Users/lowns/Desktop/keywi.db"; + private static string _dbPath = Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), + "keywi.db" + ); + //KLASSENVARIABLEN ERSTELLEN //private static string loginname; diff --git a/Project.View/EntryErrorPopup/EntryErrorPopup.axaml.cs b/Project.View/EntryErrorPopup/EntryErrorPopup.axaml.cs index 6daa399..c536468 100644 --- a/Project.View/EntryErrorPopup/EntryErrorPopup.axaml.cs +++ b/Project.View/EntryErrorPopup/EntryErrorPopup.axaml.cs @@ -5,6 +5,7 @@ using Avalonia.Media; using Project.Controller; using Project.Model; using Project.Persistence; + namespace Project.View; public partial class EntryErrorPopUp : Window diff --git a/Project.View/Login Page/LoginPage.axaml b/Project.View/Login Page/LoginPage.axaml index 989fe77..040bc25 100644 --- a/Project.View/Login Page/LoginPage.axaml +++ b/Project.View/Login Page/LoginPage.axaml @@ -1,7 +1,9 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + > +