Skip to content

Commit

Permalink
update: bump to v1.4.1
Browse files Browse the repository at this point in the history
Signed-off-by: moson-mo <mo-son@mailbox.org>
  • Loading branch information
moson-mo committed Jul 26, 2022
1 parent 906eb32 commit f10fa95
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![pacseek](https://img.shields.io/static/v1?label=pacseek&message=v1.4.0-1&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek/)
[![pacseek-bin](https://img.shields.io/static/v1?label=pacseek-bin&message=v1.4.0-1&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek-bin/)
[![pacseek](https://img.shields.io/static/v1?label=pacseek&message=v1.4.1-1&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek/)
[![pacseek-bin](https://img.shields.io/static/v1?label=pacseek-bin&message=v1.4.1-1&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek-bin/)

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/moson-mo/pacseek/Build)](https://github.com/moson-mo/pacseek/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/moson-mo/pacseek)](https://goreportcard.com/report/github.com/moson-mo/pacseek)
Expand Down
14 changes: 6 additions & 8 deletions internal/pacseek/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ func (ps *UI) setupComponents() {
})
ps.spinner.SetText("").
SetBorder(true)
ps.settings.SetItemPadding(0).
ps.settings.SetFieldBackgroundColor(colorSettingsBackground).
SetFieldTextColor(colorSettingsText).
SetButtonBackgroundColor(colorSettingsBackground).
SetButtonTextColor(colorSettingsText).
SetLabelColor(colorSettingsLabel).
SetItemPadding(0).
SetBorder(true).
SetTitle(" [::b]Settings ").
SetTitleAlign(tview.AlignLeft).
Expand Down Expand Up @@ -277,13 +282,6 @@ func (ps *UI) setupKeyBindings() {

// sets up settings form
func (ps *UI) setupSettingsForm() {
// Colors
ps.settings.SetFieldBackgroundColor(colorSettingsBackground).
SetFieldTextColor(colorSettingsText).
SetButtonBackgroundColor(colorSettingsBackground).
SetButtonTextColor(colorSettingsText).
SetLabelColor(colorSettingsLabel)

// Save button clicked
ps.settings.AddButton("Apply & Save", func() {
ps.saveSettings(false)
Expand Down
2 changes: 1 addition & 1 deletion internal/pacseek/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
aurPackageUrl = "https://aur.archlinux.org/packages/"
packageUrl = "https://archlinux.org/packages/"

version = "1.4.0"
version = "1.4.1"
)

var (
Expand Down

0 comments on commit f10fa95

Please sign in to comment.