Skip to content

Commit

Permalink
Mobile | Make Leaderboard page fully scrollable (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntPolkanov authored Feb 20, 2024
1 parent e5151ba commit 8494633
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 192 deletions.
4 changes: 2 additions & 2 deletions src/MobileUI/Controls/Podium.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ private void SetAvatarSize(int rank)
ProfilePic.WidthRequest = 130;
ProfilePic.HeightRequest = 130;
ProfilePic.CornerRadius = 65;
ProfilePic.BorderWidth = 5;
ProfilePic.BorderWidth = DeviceInfo.Current.Platform == DevicePlatform.iOS ? 0 : 5; // TODO: for some reason the border is not a circle on iOS, so we hide it
break;
default:
ProfilePic.WidthRequest = 70;
ProfilePic.HeightRequest = 70;
ProfilePic.CornerRadius = 35;
ProfilePic.BorderWidth = 2;
ProfilePic.BorderWidth = DeviceInfo.Current.Platform == DevicePlatform.iOS ? 0 : 2;
break;
}
}
Expand Down
Loading

0 comments on commit 8494633

Please sign in to comment.