mirror of
https://github.com/Jguer/yay.git
synced 2025-08-09 16:17:08 +02:00
Fix padding on time update
This commit is contained in:
parent
6c5c6ab8f6
commit
de59b3911d
@ -64,7 +64,7 @@ func (u upSlice) Less(i, j int) bool {
|
||||
|
||||
func getVersionDiff(oldVersion, newVersion string) (left, right string) {
|
||||
if oldVersion == newVersion {
|
||||
return oldVersion, newVersion
|
||||
return oldVersion + red(""), newVersion + green("")
|
||||
}
|
||||
|
||||
diffPosition := 0
|
||||
|
Loading…
Reference in New Issue
Block a user