Skip to content

Commit

Permalink
Merge pull request #684 from hello/jimmy/drag
Browse files Browse the repository at this point in the history
Fix scrolling when sense is offline for more than 3 hours (no charts to draw)
  • Loading branch information
jimmymlu authored Sep 26, 2016
2 parents a6d8984 + c880c11 commit 30ebaa0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.5.3.10

Fixes:

* Fix issue with scrolling room conditions when there is no data to draw any charts

## 1.5.3.9

Fixes:
Expand Down
2 changes: 1 addition & 1 deletion Extensions/RoomConditions/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.5.3.9</string>
<string>1.5.3.10</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionMainStoryboard</key>
Expand Down
2 changes: 1 addition & 1 deletion SleepModel/HEMSensorChartContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ - (void)setChartView:(ChartViewBase*)chartView {
[[self botLimitLabel] setHidden:!hasChartData];

[self insertSubview:chartView atIndex:0];
[self setUserInteractionEnabled:YES];
[self setUserInteractionEnabled:hasChartData];

_chartView = chartView;
}
Expand Down
2 changes: 1 addition & 1 deletion SleepModel/Sense-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.5.3.9</string>
<string>1.5.3.10</string>
<key>FacebookAppID</key>
<string>372438546161587</string>
<key>FacebookDisplayName</key>
Expand Down

0 comments on commit 30ebaa0

Please sign in to comment.