Skip to content

Commit

Permalink
update APIのResponseをdataclass化 #44
Browse files Browse the repository at this point in the history
  • Loading branch information
fa0311 committed Jul 19, 2022
1 parent 79aae18 commit 5d20536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/users.dart
Expand Up @@ -27,8 +27,8 @@ class Users {
Map<String, Map<String, int>> numberOfFriendsInLocation() {
Map<String, Map<String, int>> inLocation = {};
int id = 0;
for (dynamic user in userList) {
String location = user["location"];
for (VRChatUser user in userList) {
String location = user.location;
if (["private", "offline"].contains(location) && joinable) continue;
if (inLocation[location] == null) {
id++;
Expand Down

0 comments on commit 5d20536

Please sign in to comment.