aboutsummaryrefslogtreecommitdiff
path: root/src/ui/settings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/settings.rs')
-rw-r--r--src/ui/settings.rs18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/ui/settings.rs b/src/ui/settings.rs
index 5052c91c..3cea6da3 100644
--- a/src/ui/settings.rs
+++ b/src/ui/settings.rs
@@ -12,7 +12,7 @@ use super::widgets::{
};
use crate::{
app::{state::Palette, AppState},
- config::ToastDelivery,
+ config::{StatusIndicatorStyle, ToastDelivery},
};
pub(crate) const SETTINGS_POPUP_WIDTH: u16 = 76;
@@ -106,6 +106,22 @@ pub(super) fn render_settings_overlay(app: &AppState, frame: &mut Frame, area: R
SettingsSection::Theme => {
render_settings_theme(app, frame, content_area);
}
+ SettingsSection::Indicators => {
+ render_modal_choice_list(
+ frame,
+ content_area,
+ "agent status indicators",
+ "choose color dots or distinct symbols for each state",
+ &[
+ ("color dots ● ● ● ○ ·", StatusIndicatorStyle::Dots),
+ ("distinct symbols × ◐ ✓ ○ ·", StatusIndicatorStyle::Symbols),
+ ],
+ app.status_indicators,
+ app.settings.list.selected,
+ p,
+ 1,
+ );
+ }
SettingsSection::Sound => {
render_settings_toggle(
frame,