Skip to content

Commit

Permalink
refactor: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
abanoubha committed May 27, 2024
1 parent 61c292d commit f1fcb3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ protected void onPostExecute(String result) {
int toScreen;
super.onPostExecute(result);
PrayerActivity.this.setTitle(PrayerActivity.this.prayerHeaderText);
int childsTotal = PrayerActivity.this.space.getChildCount() - 1;
int childrenCount = PrayerActivity.this.space.getChildCount() - 1;
if (PrayerActivity.this.currentScreen != -1) {
toScreen = PrayerActivity.this.currentScreen;
} else {
toScreen = childsTotal;
toScreen = childrenCount;
}
PrayerActivity.this.space.setCurrentScreen(toScreen);
PrayerActivity.this.setContentView(PrayerActivity.this.space);
Expand Down

0 comments on commit f1fcb3e

Please sign in to comment.