Skip to content

Commit

Permalink
change menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms committed Nov 21, 2024
1 parent 73e363e commit f6fe94c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Bugsnag/Assets/Bugsnag/Editor/BugsnagEditor.EDM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class BugsnagEditor : EditorWindow

private static string KotlinLibsDirPath = "/Bugsnag/Plugins/Android/Kotlin";

[MenuItem(EDM_MENU_ITEM, false, 1)]
[MenuItem(EDM_MENU_ITEM, false, 51)]
private static void ToggleEDM()
{
if (IsEDMEnabled())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ namespace BugsnagUnity.Editor

public class AutoSymbolUploadToggleMenu
{
private const string MENU_PATH = "Window/BugSnag/Enable Symbol Uploads";

[MenuItem("Window/BugSnag/Auto Upload Symbols")]
[MenuItem(MENU_PATH,false,50)]
private static void ToggleAutoUpload()
{
SetEnabled(!IsEnabled());
}

[MenuItem("Window/BugSnag/Auto Upload Symbols", true)]
[MenuItem(MENU_PATH, true)]
private static bool ToggleAutoUploadValidate()
{
Menu.SetChecked("Window/BugSnag/Auto Upload Symbols", IsEnabled());
Menu.SetChecked(MENU_PATH, IsEnabled());
return true;
}

Expand Down

0 comments on commit f6fe94c

Please sign in to comment.