Skip to content

Commit

Permalink
fix: remove active from SetSuspended
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jan 22, 2025
1 parent 90b769d commit 1fd6c9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/modal/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ func (m *ViewModel) SetActive(active bool) {

// SetSuspended sets the active state to false both infoModal and transactionModal, and sets suspended state to true, also for both modals.
func (m *ViewModel) SetSuspended() {
m.infoModal.Active = false
m.infoModal.Suspended = true
m.infoModal.UpdateState()
m.transactionModal.Active = false
m.transactionModal.Suspended = true
m.transactionModal.UpdateState()
}
Expand Down

0 comments on commit 1fd6c9f

Please sign in to comment.