Fixed build error
This commit is contained in:
parent
7b9b8e38dc
commit
17b790e424
1 changed files with 0 additions and 17 deletions
|
@ -50,22 +50,5 @@ namespace Ryujinx.Ui
|
|||
messageDialog.Run();
|
||||
messageDialog.Dispose();
|
||||
}
|
||||
|
||||
internal static MessageDialog CreateProgressDialog(string iconType, string titleMessage, string textMessage, string secText)
|
||||
{
|
||||
MessageDialog messageDialog = new MessageDialog(null, DialogFlags.Modal, MessageType.Info, ButtonsType.None, null)
|
||||
{
|
||||
Title = titleMessage,
|
||||
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), $"Ryujinx.Ui.assets.{iconType}.png"),
|
||||
Text = textMessage,
|
||||
SecondaryText = secText,
|
||||
WindowPosition = WindowPosition.Center
|
||||
};
|
||||
Uri URL = new Uri(UpdateParser._buildArt);
|
||||
UpdateParser.Package.DownloadFileAsync(URL, Path.Combine(UpdateParser.RyuDir, "Data", "Update", "RyujinxPackage.zip"));
|
||||
messageDialog.SetSizeRequest(100, 20);
|
||||
|
||||
return messageDialog;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue