Skip to content

Commit

Permalink
chore: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Aug 17, 2023
1 parent cf7aa61 commit e69077c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void onViewCreated(

float cardX = sharedPreferenceHelper.getCardX();
float cardY = sharedPreferenceHelper.getCardY();
float cardRotation = sharedPreferenceHelper.getCardRotation();
float cardRotation = sharedPreferenceHelper.getCardRotation();

if (cardX != -1)
cardView.setX(
Expand All @@ -140,8 +140,7 @@ public void onViewCreated(
cardView.setY(
(constraintLayout.getHeight() - offsetViewBounds.top) / cardY);

if (cardRotation != -1) cardView.setRotation(cardRotation);

if (cardRotation != -1) cardView.setRotation(cardRotation);
});

AtomicReference<Float> dX = new AtomicReference<>(cardView.getX());
Expand Down

0 comments on commit e69077c

Please sign in to comment.