1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

Make switch more clear (#5119)

This commit is contained in:
Oleg Kovalov 2018-10-19 15:36:41 +02:00 committed by Lunny Xiao
parent 8db3bdc683
commit fef0410b92

View File

@ -38,12 +38,11 @@ func (rt ReviewType) Icon() string {
return "eye" return "eye"
case ReviewTypeReject: case ReviewTypeReject:
return "x" return "x"
case ReviewTypeComment, ReviewTypeUnknown:
return "comment"
default: default:
case ReviewTypeComment:
case ReviewTypeUnknown:
return "comment" return "comment"
} }
return "comment"
} }
// Review represents collection of code comments giving feedback for a PR // Review represents collection of code comments giving feedback for a PR