Sync story read status to server when scrolling to mark as read. I'm not sure why this hasn't been happening.

This commit is contained in:
Samuel Clay 2016-03-14 12:49:11 -07:00
parent 699d495cf0
commit 91470ceb9b
2 changed files with 2 additions and 1 deletions

View file

@ -1641,6 +1641,7 @@ heightForRowAtIndexPath:(NSIndexPath *)indexPath {
if ([storiesCollection isStoryUnread:story]) {
[storiesCollection markStoryRead:story];
[storiesCollection syncStoryAsRead:story];
}
}

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15E61b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>