mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
Make switch more clear (#5119)
This commit is contained in:
parent
8db3bdc683
commit
fef0410b92
|
@ -38,12 +38,11 @@ func (rt ReviewType) Icon() string {
|
|||
return "eye"
|
||||
case ReviewTypeReject:
|
||||
return "x"
|
||||
case ReviewTypeComment, ReviewTypeUnknown:
|
||||
return "comment"
|
||||
default:
|
||||
case ReviewTypeComment:
|
||||
case ReviewTypeUnknown:
|
||||
return "comment"
|
||||
}
|
||||
return "comment"
|
||||
}
|
||||
|
||||
// Review represents collection of code comments giving feedback for a PR
|
||||
|
|
Loading…
Reference in a new issue