Autoload yay
This commit is contained in:
@@ -339,7 +339,7 @@ class WorkspaceSharedPageWidgetState extends State<WorkspaceSharedPageWidget> {
|
||||
List<Widget> items = [];
|
||||
for (var w in data) {
|
||||
List<Widget> badges = [];
|
||||
if (widget.type == CollaborativeAreaType.peer && w.getID(
|
||||
if (w is Peer && w.getID(
|
||||
) == CollaborativeAreaLocal.workspaces[CollaborativeAreaLocal.current ?? ""]?.rule?.creator) {
|
||||
badges.add(Padding( padding: const EdgeInsets.only(left: 5), child: Icon(Icons.star, color: Colors.orange.shade300 )));
|
||||
} else if (widget.type == CollaborativeAreaType.workspace) {
|
||||
|
||||
Reference in New Issue
Block a user