fix: linter
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
Dawid Wysokiński 2024-04-30 08:58:40 +02:00
parent 0c67bd41b5
commit 6dbb18b543
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -123,8 +123,7 @@ func (m *UI) handleEnteringPassword(teaMsg tea.Msg) tea.Cmd {
var cmd tea.Cmd
switch msg := teaMsg.(type) {
case tea.KeyMsg:
if msg, ok := teaMsg.(tea.KeyMsg); ok {
switch {
case key.Matches(msg, keyBindingQuit):
return tea.Quit