improving VMC flow
This commit is contained in:
@@ -59,9 +59,9 @@ class _WorkspaceScreenState extends State<WorkspaceScreen>
|
||||
_loadWorkspaces();
|
||||
} else {
|
||||
// if not logged in then create temp workspace
|
||||
SharedPreferences.getInstance().then((prefs) {
|
||||
prefs.setString('workspaceId', const Uuid().v4());
|
||||
});
|
||||
if (prefs.getString("workspaceId") == null) {
|
||||
await prefs.setString("workspaceId", const Uuid().v4());
|
||||
}
|
||||
_navigateToHome();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user