Datamodel - WIP stuff, need this on a diff. PC

This commit is contained in:
SpoinkyNL committed 2020-06-23 22:49:27 +02:00
1 parent 920aea6695
commit 2b7a507725
23 files changed
+392 -161

No files matched your search

@@ -80,7 +80,10 @@ namespace Artemis.UI.Screens.Module.ProfileEditor
{
var result = await DialogService.ShowDialog<ProfileCreateViewModel>();
if (result is string name)
CreateProfile(name);
{
var newProfile = CreateProfile(name);
SelectedProfile = newProfile;
}
}
public async Task DeleteActiveProfile()
@@ -66,7 +66,7 @@ namespace Artemis.UI.Screens.Settings.Tabs.Plugins
switch (Plugin)
{
case DataModelExpansion _:
case BaseDataModelExpansion _:
return PackIconKind.TableAdd;
case DeviceProvider _:
return PackIconKind.Devices;