summaryrefslogtreecommitdiff
path: root/internal/client/ui/core
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core')
-rw-r--r--internal/client/ui/core/usersettings/usersettings.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/client/ui/core/usersettings/usersettings.go b/internal/client/ui/core/usersettings/usersettings.go
index f7664fc..271b384 100644
--- a/internal/client/ui/core/usersettings/usersettings.go
+++ b/internal/client/ui/core/usersettings/usersettings.go
@@ -186,6 +186,12 @@ func (m Model) View() string {
Width(m.nameWidth).
Render(configFile)
+ cacheFile := "Cache File: " + highlightedStyle().Render(config.CacheFile)
+ cacheFile = lipgloss.NewStyle().
+ Background(colors.Background).Foreground(colors.White).
+ Width(m.nameWidth).
+ Render(cacheFile)
+
option := highlightedStyle().Render("\"anonymous_device_analytics\": false")
analyticsOptOut := "Anonymous device analytics can be disabled in your config file by setting: " + option
analyticsOptOut = lipgloss.NewStyle().
@@ -194,7 +200,7 @@ func (m Model) View() string {
Render(analyticsOptOut)
content := flex.NewVertical(
- analyticsOptOut, configFile, name, description, private, update, del,
+ analyticsOptOut, configFile, cacheFile, name, description, private, update, del,
).WithGap(1).View()
return lipgloss.NewStyle().