feat: support changing the workspace icon (#4898)

This commit is contained in:
Lucas.Xu
2024-03-15 13:10:30 +07:00
committed by GitHub
parent 8776ac5c36
commit ac34617e51
12 changed files with 269 additions and 42 deletions

View File

@ -202,7 +202,7 @@ class UserWorkspaceBloc extends Bloc<UserWorkspaceEvent, UserWorkspaceState> {
if (e.workspaceId == workspaceId) {
e.freeze();
return e.rebuild((p0) {
// TODO(Lucas): the icon is not ready in the backend
p0.icon = icon;
});
}
return e;