Browse Source

neon: Only load user status of status will be shown

pull/368/head
jld3103 2 years ago
parent
commit
342c9fed87
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 4
      packages/neon/neon/lib/src/widgets/user_avatar.dart

4
packages/neon/neon/lib/src/widgets/user_avatar.dart

@ -35,7 +35,9 @@ class _UserAvatarState extends State<NeonUserAvatar> {
void initState() {
super.initState();
unawaited(_userStatusBloc.load(widget.username));
if (widget.showStatus) {
unawaited(_userStatusBloc.load(widget.username));
}
}
@override

Loading…
Cancel
Save