Skip to content

Commit f5465fa

Browse files
committed
fix: fix avatar cache
1 parent 2fcbb04 commit f5465fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/screens/profile_edit_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class _ProfileEditScreenState extends State<ProfileEditScreen> {
158158
final ok = await TfApiClient.instance.uploadUserAvatar(uid, password, b64);
159159
if (ok) {
160160
AuthState.instance.bumpAvatarVersion();
161+
imageCache.clear();
161162
} else {
162163
allOk = false;
163164
}

0 commit comments

Comments
 (0)