Skip to content

Commit

Permalink
Add view switch on date change
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Dec 9, 2019
1 parent 7f52996 commit f2b0133
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.android.tools.build:gradle:3.5.3'
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/org/billthefarmer/diary/Diary.java
Original file line number Diff line number Diff line change
Expand Up @@ -2172,6 +2172,12 @@ private void changeDate(Calendar date)
setDate(date);
load();

if (markdown && !shown)
{
animateAccept();
shown = true;
}

entry = true;
}

Expand Down

0 comments on commit f2b0133

Please sign in to comment.