Skip to content

Commit

Permalink
v0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ge committed Jan 15, 2025
1 parent 5239178 commit ed393e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public List<Component> provideMenuItems(ContextMenuEvent contextMenuEvent) {
if(requestResponses.isEmpty()) return null;


HttpRequestResponse requestResponse = requestResponses.getFirst();
HttpRequestResponse requestResponse = requestResponses.get(0);
String userAgent = requestResponse.request().header("User-Agent").value();
if (userAgent == null || userAgent.isBlank()) {
Arrays.stream(Browsers.values()).forEach(
Expand Down

0 comments on commit ed393e6

Please sign in to comment.