Skip to content

Commit

Permalink
twostraws#41: Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olivaresf committed Aug 1, 2021
1 parent 59a09a8 commit 6d3262a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Unwrap/Activities/Awards/AwardPointsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ class AwardPointsViewController: UIViewController, Storyboarded {

/// Performs the animation of granting points, while also actually performing the grant to the user data.
func awardPoints() {

totalPoints.count(start: User.current.totalPoints,
end: User.current.totalPoints + pointsToAward)
totalPoints.count(start: User.current.totalPoints, end: User.current.totalPoints + pointsToAward)
earnedPoints.count(start: pointsToAward, end: 0)

if User.current.willLevelUp(afterAwardedPoints: pointsToAward) {
Expand Down

0 comments on commit 6d3262a

Please sign in to comment.