Skip to content

Commit e44fc1a

Browse files
committed
add status messages option to config screen (HOW DID I FORGET)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
1 parent 2eb8459 commit e44fc1a

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/main/kotlin/ru/octol1ttle/flightassistant/config/FAConfigScreen.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ import ru.octol1ttle.flightassistant.config.options.SafetyOptions
239239
binding(current::showAlerts, defaults.showAlerts)
240240
controller(tickBox())
241241
}
242+
rootOptions.register("misc.status_messages") {
243+
setDisplayName()
244+
binding(current::showStatusMessages, defaults.showStatusMessages)
245+
controller(tickBox())
246+
}
242247
rootOptions.register("misc.automation_modes") {
243248
setDisplayName()
244249
binding(current::showAutomationModes, defaults.showAutomationModes)

src/main/kotlin/ru/octol1ttle/flightassistant/config/options/DisplayOptions.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class DisplayOptions {
7171

7272
@SerialEntry
7373
var showAlerts: Boolean = true
74-
7574
@SerialEntry
7675
var showStatusMessages: Boolean = true
7776

src/main/resources/assets/flightassistant/lang/en_us.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ config.flightassistant:
154154
.: Miscellaneous
155155
coordinates: Show coordinates
156156
alerts: Show alerts
157+
status_messages: Show status messages
157158
automation_modes: Show automation modes
158159
flight_directors: Show flight directors
159160
safety:

src/main/resources/assets/flightassistant/lang/ru_ru.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ config.flightassistant:
158158
.: Разное
159159
coordinates: Отображать координаты
160160
alerts: Отображать предупреждения
161+
status_messages: Отображать сообщения о статусе
161162
automation_modes: Отображать режимы автоматизации
162163
flight_directors: Отображать указатели полёта
163164
safety:

0 commit comments

Comments
 (0)