Implemented proper viewModels
This commit is contained in:
@@ -15,7 +15,8 @@ class Program
|
||||
var application = Adw.Application.New("org.typomustakes.keychain", Gio.ApplicationFlags.FlagsNone);
|
||||
application.OnActivate += (sender, args) =>
|
||||
{
|
||||
var window = new UI.MainWindow().Window;
|
||||
var passwordStoreService = provider.GetRequiredService<IPasswordStoreService>();
|
||||
var window = new UI.MainWindow(passwordStoreService).Window;
|
||||
window.Application = (Adw.Application)sender;
|
||||
window.Show();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user