Skip to content

Commit a44458d

Browse files
committed
add: 升级提示文字
1 parent 232c5ac commit a44458d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/ui_footer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (m FooterComponents) Update(msg tea.Msg) (FooterComponents, tea.Cmd) {
114114
cmds = append(cmds, m.onSwitchShowMode())
115115
}
116116
case messages.UpgradeStateMessage:
117-
m.secondText = msg.State.Text()
117+
m.statusBar.FirstColumn = msg.State.Text()
118118
cmds = append(cmds, tea.Tick(time.Second, commands.CheckDownloadProcessMessages(msg.State)))
119119
case spinner.TickMsg:
120120
m.spinner, cmd = m.spinner.Update(msg)

0 commit comments

Comments
 (0)