From: christiangoeschel <cndjomouo@icloud.com>
Date: Mon, 4 Nov 2024 00:02:00 +0000 (-0500)
Subject: Backup
X-Git-Url: https://git.christiangoeschel.com/?a=commitdiff_plain;h=171df6862ce309a754d574eff853a9015bb0e438;p=repoman-cli.git

Backup
---

diff --git a/main b/main
index 22fcefb..966a93b 100755
Binary files a/main and b/main differ
diff --git a/screens/apistatus.go b/screens/apistatus.go
index 156bea3..c97d0a6 100644
--- a/screens/apistatus.go
+++ b/screens/apistatus.go
@@ -67,12 +67,11 @@ func (m *APIStatusScreenModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
     case "ctrl+c", "ctrl+C":
         return m, tea.Quit
 
-      case "enter":
+    case "enter":
         m.APIStatus = api.APIStatusMsg{}
         m.ReqReceived = false
         m.Requested   = true
         return m, api.HandleAPIStatusRequest(api.StatusUrl)
-       
     }
     
   case api.APIStatusMsg:
@@ -91,7 +90,6 @@ func (m *APIStatusScreenModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
       m.Width = w
       m.Height = h
       return m, nil
-
   }
 
   return m, nil 
@@ -113,7 +111,6 @@ func (m *APIStatusScreenModel) View() string {
   topBarBlock :=  ui.TopBarStyle.Render(lipgloss.JoinHorizontal(lipgloss.Center,
                   ui.TopBarLeftStyle.Width((m.Width / 2 ) - 1).Render(roundLabelCorner + titleBlock + labelArrow), 
                   ui.TopBarRightStyle.Width((m.Width / 2 ) - 1).Render(rightTopBarBlock)))
-
   _, topBarBlockHeight := lipgloss.Size(topBarBlock)
 
   // Footer 
@@ -139,10 +136,8 @@ func (m *APIStatusScreenModel) View() string {
           statusResponse) 
 
   mainBodyBlockStyle := lipgloss.NewStyle().Height(m.Height - footerBlockHeight - topBarBlockHeight)
-  
   mainBodyBlock = mainBodyBlockStyle.Render(mainBodyBlock)
 
-
 return  lipgloss.PlaceHorizontal(m.Width, lipgloss.Center, lipgloss.JoinVertical(lipgloss.Left, topBarBlock, mainBodyBlock, footerBlock))  
 }