File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ func (s Settings) BaseInfoTable() *table.Table {
4141 t .StyleFunc (func (row , col int ) lipgloss.Style {
4242 if col == 0 {
4343 return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (16 ).Foreground (lipgloss .Color ("#B99470" )).Bold (true )
44- } else {
45- return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (16 ).Foreground (lipgloss .Color ("#F0ECE5" ))
4644 }
45+
46+ return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (16 ).Foreground (lipgloss .Color ("#F0ECE5" ))
4747 })
4848
4949 t .Rows (rows ... )
@@ -62,9 +62,9 @@ func (s Settings) BypassListTable() *table.Table {
6262 t .StyleFunc (func (row , col int ) lipgloss.Style {
6363 if row == 0 {
6464 return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (32 ).Foreground (lipgloss .Color ("#B99470" )).Bold (true )
65- } else {
66- return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (32 ).Foreground (lipgloss .Color ("#F0ECE5" ))
6765 }
66+
67+ return lipgloss .NewStyle ().Align (lipgloss .Center ).Width (32 ).Foreground (lipgloss .Color ("#F0ECE5" ))
6868 })
6969
7070 return t .Headers (headers ... ).Rows (slices .Collect (func (yield func ([]string ) bool ) {
@@ -86,9 +86,9 @@ func (s Settings) String() string {
8686func CheckMark (b bool ) string {
8787 if b {
8888 return "✓"
89- } else {
90- return "𐄂"
9189 }
90+
91+ return "𐄂"
9292}
9393
9494func Render (s winproxy.Settings ) Settings {
You can’t perform that action at this time.
0 commit comments