Tidying up workspace, creating new layers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace App;
|
||||
namespace Keychain;
|
||||
|
||||
class Program
|
||||
{
|
||||
@@ -13,7 +13,7 @@ class Program
|
||||
var application = Adw.Application.New("org.typomustakes.keychain", Gio.ApplicationFlags.FlagsNone);
|
||||
application.OnActivate += (sender, args) =>
|
||||
{
|
||||
var window = new App.UI.MainWindow().Window;
|
||||
var window = new UI.MainWindow().Window;
|
||||
window.Application = (Adw.Application)sender;
|
||||
window.Show();
|
||||
};
|
||||
@@ -24,7 +24,7 @@ class Program
|
||||
private static ServiceProvider SetupServices()
|
||||
{
|
||||
var services = new ServiceCollection();
|
||||
services.AddTransient<IPasswordStoreService, PasswordStoreService>();
|
||||
//services.AddTransient<IPasswordStoreService, PasswordStoreService>();
|
||||
return services.BuildServiceProvider();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user