diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bdbd7f..0f7eb09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Quote blocks in posts and comments are now much prettier - Code blocks nwo have monospace font. As they should +- Switching accounts in the profile tab now correctly reacts to the change ## v0.3.0 - 2021-02-25 diff --git a/lib/widgets/user_profile.dart b/lib/widgets/user_profile.dart index 67dcd95..6accf8f 100644 --- a/lib/widgets/user_profile.dart +++ b/lib/widgets/user_profile.dart @@ -47,7 +47,7 @@ class UserProfile extends HookWidget { sort: SortType.active, auth: accountsStore.defaultTokenFor(instanceHost)?.raw, )); - }); + }, [userId, instanceHost]); if (!userDetailsSnap.hasData) { return const Center(child: CircularProgressIndicator());