GUI, preferences: removed rare/useless settings:

* Show ability picker forced - removed and keep enabled for all;
* Show turn info in logs - removed and keep enabled for all;
This commit is contained in:
Oleg Agafonov 2024-08-12 21:24:33 +04:00
parent 4d89fcd72d
commit 754e5fc41a
9 changed files with 58 additions and 292 deletions

View file

@ -286,8 +286,7 @@ public class ChatPanelBasic extends javax.swing.JPanel {
}
String getTurnInfoPart(String turnInfo) {
boolean canUse = Boolean.parseBoolean(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_GAME_LOG_SHOW_TURN_INFO, "true"));
return (turnInfo == null || !canUse ? "" : ", " + turnInfo);
return turnInfo == null ? "" : ", " + turnInfo;
}
protected String getColoredText(String color, String text) {