Skip to content

Commit

Permalink
Fix a problem with previous/next button handling
Browse files Browse the repository at this point in the history
  • Loading branch information
arnowelzel committed Aug 23, 2018
1 parent cbb4fc3 commit 66e7e4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "de.arnowelzel.android.periodical"
minSdkVersion 14
targetSdkVersion 27
versionCode 57
versionName "1.15"
versionCode 58
versionName "1.16"
buildConfigField "String", "VERSION_YEAR", "\"2018\""

return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ private void calendarUpdate() {
* Handler for "previous month" button in main view
*/
@SuppressWarnings({"UnusedParameters", "SameParameterValue"})
private void goPrev(View v) {
public void goPrev(View v) {
// Update calendar
monthCurrent--;
if (monthCurrent < 1) {
Expand All @@ -473,7 +473,7 @@ private void goPrev(View v) {
* Handler for "next month" button in main view
*/
@SuppressWarnings({"UnusedParameters", "SameParameterValue"})
private void goNext(View v) {
public void goNext(View v) {
// Update calendar
monthCurrent++;
if (monthCurrent > 12) {
Expand Down

0 comments on commit 66e7e4e

Please sign in to comment.