Code cleanup

This commit is contained in:
Robert committed 2019-11-13 14:08:26 +01:00
1 parent 0d02e144ba
commit da4b691717
70 files changed
+492 -488

No files matched your search

+3 -3
View File
@@ -26,10 +26,10 @@ namespace Artemis.UI.Services
new ConstructorArgument("header", header),
new ConstructorArgument("text", text),
new ConstructorArgument("confirmText", confirmText),
new ConstructorArgument("cancelText", cancelText),
new ConstructorArgument("cancelText", cancelText)
};
var result = await ShowDialog<ConfirmDialogViewModel>(arguments);
return (bool)result;
return (bool) result;
}
public async Task<bool> ShowConfirmDialogAt(string identifier, string header, string text, string confirmText = "Confirm", string cancelText = "Cancel")
@@ -39,7 +39,7 @@ namespace Artemis.UI.Services
new ConstructorArgument("header", header),
new ConstructorArgument("text", text),
new ConstructorArgument("confirmText", confirmText),
new ConstructorArgument("cancelText", cancelText),
new ConstructorArgument("cancelText", cancelText)
};
var result = await ShowDialogAt<ConfirmDialogViewModel>(identifier, arguments);
return (bool) result;