Fix styling of the invites icon
This commit is contained in:
parent
31f6ffe916
commit
ad7d04f736
@ -34,8 +34,11 @@ class ActivityItem(CanvasIcon):
|
|||||||
|
|
||||||
class InviteItem(CanvasIcon):
|
class InviteItem(CanvasIcon):
|
||||||
def __init__(self, invite):
|
def __init__(self, invite):
|
||||||
CanvasIcon.__init__(self, icon_name=invite.get_icon(),
|
CanvasIcon.__init__(self, icon_name=invite.get_icon())
|
||||||
color=invite.get_color())
|
|
||||||
|
style.apply_stylesheet(self, 'frame.ActivityIcon')
|
||||||
|
self.props.color = invite.get_color()
|
||||||
|
|
||||||
self._invite = invite
|
self._invite = invite
|
||||||
|
|
||||||
def get_activity_id(self):
|
def get_activity_id(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user