Fix posizione
This commit is contained in:
@@ -67,11 +67,14 @@ public class ModalHelpers
|
||||
return await modal.Result;
|
||||
}
|
||||
|
||||
public static async Task<DialogResult?> OpenAddAttached(IDialogService dialog)
|
||||
public static async Task<DialogResult?> OpenAddAttached(IDialogService dialog, bool canAddPosition)
|
||||
{
|
||||
var modal = await dialog.ShowAsync<AddAttached>(
|
||||
"Add attached",
|
||||
new DialogParameters<AddAttached>(),
|
||||
new DialogParameters<AddAttached>
|
||||
{
|
||||
{ x => x.CanAddPosition, canAddPosition}
|
||||
},
|
||||
new DialogOptions
|
||||
{
|
||||
FullScreen = false,
|
||||
|
||||
Reference in New Issue
Block a user