Skip to content

Commit

Permalink
Merge branch 'develop' into friends-lists-refresh-views
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleypayton committed May 8, 2024
2 parents e119cfe + 76d7c08 commit 451a853
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/FocusApp.Client/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static IServiceCollection RegisterRefitClient(this IServiceCollection se
{
services
.AddRefitClient<IAPIClient>()
.ConfigureHttpClient(c => c.BaseAddress = new Uri("http://test.zenpxl.com:25565"));
.ConfigureHttpClient(c => c.BaseAddress = new Uri("http://prod.zenpxl.com:25565"));

return services;
}
Expand Down
Binary file removed src/FocusApp.Client/Resources/Images/pet_beans.png
Binary file not shown.
Binary file removed src/FocusApp.Client/Resources/Images/pet_bob.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/FocusApp.Client/Resources/Images/pet_danole.png
Binary file not shown.
Binary file not shown.
Binary file removed src/FocusApp.Client/Resources/Images/pet_greg.png
Binary file not shown.
Binary file removed src/FocusApp.Client/Resources/Images/pet_wurmy.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/FocusApp.Client/Views/LoginPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ PopupService popupService
_mediator = mediator;
_popupService = popupService;

var pets = new List<string> { "pet_beans.png", "pet_bob.png", "pet_danole.png", "pet_franklin.png", "pet_greg.png", "pet_wurmy.png" };
var pets = new List<string> { "pet_cool_cat.png", "pet_cool_cat.png", "pet_cool_cat.png", "pet_cooler_cat.png", };
var rnd = new Random();

Loaded += LoginPage_Loaded;
Expand Down
13 changes: 10 additions & 3 deletions src/FocusApp.Client/Views/Social/BadgesPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ private void DisplayBadges(List<Badge> localBadges, List<Guid> userBadgeIds)
}
.Invoke(button => button.Released += (s, e) => OnImageButtonClicked(s, e));

var grid = new Grid
var ownedGrid = new Grid
{
ownedBadge
.ZIndex(0),

checkmark
.ZIndex(1)
};
flexLayout.Children.Add(grid);
flexLayout.Children.Add(ownedGrid);
}
else
{
Expand All @@ -213,7 +213,14 @@ private void DisplayBadges(List<Badge> localBadges, List<Guid> userBadgeIds)
Opacity = .2
}
.Invoke(button => button.Released += (s, e) => OnImageButtonClicked(s, e));
flexLayout.Children.Add(unownedBadge);

var unownedGrid = new Grid
{
unownedBadge
.ZIndex(0)
};
flexLayout.Children.Add(unownedGrid);

}
}
}
Expand Down

0 comments on commit 451a853

Please sign in to comment.