Skip to content

Commit

Permalink
Fix issue roomorama#367: Caldroid now saves SQUARE_TEXT_VIEW_CELL pro…
Browse files Browse the repository at this point in the history
…perly during rotation.
  • Loading branch information
thomasdao committed Feb 23, 2016
1 parent ea378c9 commit b50db7b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3.0.1
=====

- Fix issue #367: Caldroid now saves SQUARE_TEXT_VIEW_CELL properly during rotation.

3.0.0
=====

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ If you found bugs specific to Caldroid, please open a new issue on Github. Howev
Setup
=====

**For Android Studio user**: add `compile 'com.roomorama:caldroid:3.0.0'` to your gradle build file.
**For Android Studio user**: add `compile 'com.roomorama:caldroid:3.0.1'` to your gradle build file.

**For Maven user**:
```
<dependency>
<groupId>com.roomorama</groupId>
<artifactId>caldroid</artifactId>
<version>3.0.0</version>
<version>3.0.1</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,11 @@ public Bundle getSavedStates() {
bundle.putBoolean(SIX_WEEKS_IN_CALENDAR, sixWeeksInCalendar);
bundle.putInt(THEME_RESOURCE, themeResource);

Bundle args = getArguments();
if (args != null && args.containsKey(SQUARE_TEXT_VIEW_CELL)) {
bundle.putBoolean(SQUARE_TEXT_VIEW_CELL, args.getBoolean(SQUARE_TEXT_VIEW_CELL));
}

return bundle;
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=3.0.0
VERSION_NAME=3.0.1
VERSION_CODE=3
GROUP=com.roomorama

Expand Down

0 comments on commit b50db7b

Please sign in to comment.