Skip to content

Commit

Permalink
Merge Conflict: Models are correct
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianBalunan committed Mar 3, 2026
1 parent fd7687a commit 17fb80c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Donation(double amount, LocalDateTime date, Charity charity, User donor)


// ASSUMES that this is the way to get the anonymous setting from the user's settings.
if (donor.getSettings().getAnonymous() == false) {
if (donor.getSettings().isAnonymous() == false) {
this.isAnonymous = true;
} else {
this.isAnonymous = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public Feedback(User user, String comment) {
this.date = LocalDateTime.now();

// ASSUMES that this is the way to get the anonymous setting from the user's settings.
if (user.getSettings().getAnonymous() == false) {
if (user.getSettings().isAnonymous() == false) {
this.isAnonymous = true;
} else {
this.isAnonymous = false;
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 17fb80c

Please sign in to comment.