Deprecation fix

This commit is contained in:
Matt Low 2024-09-21 02:46:51 +00:00
parent a488ec4fd8
commit a1fdf3f7cd

View File

@ -271,7 +271,7 @@ func (m *Model) footerView() string {
segmentStyle := lipgloss.NewStyle().PaddingLeft(1).PaddingRight(1).Faint(true) segmentStyle := lipgloss.NewStyle().PaddingLeft(1).PaddingRight(1).Faint(true)
segmentSeparator := "|" segmentSeparator := "|"
savingStyle := segmentStyle.Copy().Bold(true) savingStyle := segmentStyle.Bold(true)
saving := "" saving := ""
if m.persistence { if m.persistence {
saving = savingStyle.Foreground(lipgloss.Color("2")).Render("✅💾") saving = savingStyle.Foreground(lipgloss.Color("2")).Render("✅💾")