Skip to content

Commit

Permalink
remove win32 message boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepilledgreat committed Sep 21, 2024
1 parent c58a8ab commit 724677b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Bloxstrap/UI/Frontend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@ public static MessageBoxResult ShowMessageBox(string message, MessageBoxImage ic
if (App.LaunchSettings.QuietFlag.Active)
return defaultResult;

if (App.LaunchSettings.RobloxLaunchMode != LaunchMode.None)
return ShowFluentMessageBox(message, icon, buttons);

switch (App.Settings.Prop.BootstrapperStyle)
{
case BootstrapperStyle.FluentDialog:
case BootstrapperStyle.ClassicFluentDialog:
case BootstrapperStyle.FluentAeroDialog:
case BootstrapperStyle.ByfronDialog:
return ShowFluentMessageBox(message, icon, buttons);

default:
return MessageBox.Show(message, App.ProjectName, buttons, icon);
}
return ShowFluentMessageBox(message, icon, buttons);
}

public static void ShowPlayerErrorDialog(bool crash = false)
Expand Down

0 comments on commit 724677b

Please sign in to comment.