[fractal: 1/2] [fractal-gtk] fix overlapping range



commit f2e378448f72a92681ffa2fe0047d3dbc5a02775
Author: Felix Buehler <account@buehler.rocks>
Date:   Fri Dec 20 22:32:25 2019 +0100

    [fractal-gtk] fix overlapping range

 fractal-gtk/src/widgets/member.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fractal-gtk/src/widgets/member.rs b/fractal-gtk/src/widgets/member.rs
index 3174badd..b2911c14 100644
--- a/fractal-gtk/src/widgets/member.rs
+++ b/fractal-gtk/src/widgets/member.rs
@@ -52,7 +52,7 @@ impl<'a> MemberBox<'a> {
         let avatar = widgets::Avatar::avatar_new(Some(globals::USERLIST_ICON_SIZE));
         let badge = match self.op.member_level(self.member) {
             100 => Some(widgets::AvatarBadgeColor::Gold),
-            50..=100 => Some(widgets::AvatarBadgeColor::Silver),
+            50..=99 => Some(widgets::AvatarBadgeColor::Silver),
             _ => None,
         };
         let data = avatar.circle(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]