Skip to content

Commit

Permalink
Merge branch '629-bug-youtube-playlist-downloader-not-working-for-dri…
Browse files Browse the repository at this point in the history
…fty-gui' of github.com:SaptarshiSarkar12/Drifty into 629-bug-youtube-playlist-downloader-not-working-for-drifty-gui
  • Loading branch information
SaptarshiSarkar12 committed Sep 19, 2024
2 parents ef486a3 + f2608b4 commit 57258a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/src/main/java/gui/utils/MessageBroker.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected void sendMessage(String message, MessageType messageType, MessageCateg
ui = null;
}
Color color = switch (messageType) {
case ERROR -> AppSettings.GET.mainTheme().equals("Dark") ? BRIGHT_RED : DARK_RED;
case ERROR -> "Dark".equals(AppSettings.GET.mainTheme()) ? BRIGHT_RED : DARK_RED;
case INFO -> GREEN;
default -> YELLOW;
};
Expand Down

0 comments on commit 57258a1

Please sign in to comment.