app/src/main/java/ch/epfl/culturequest/ui/leaderboard/LeaderboardViewModel.java
Method updateLeaderboard
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateLeaderboard() {
String currentUserUid = activeProfile.getUid();
// retrieve the current user's information to be displayed in the leaderboard
currentUsername.setValue(activeProfile.getUsername());