File tree 3 files changed +11
-5
lines changed
modules/services/servers/src/main/java/au/com/shiftyjelly/pocketcasts/servers/sync
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Release notes
2
2
3
+ ### 7.20.3
4
+
5
+ * Bug Fixes:
6
+ * Fixes folder mapping at the time of folders full sync.
7
+ ([ #214 ] ( https://github.com/Automattic/pocket-casts-android/pull/214 ) ).
8
+
3
9
### 7.20.2
4
10
5
11
* Bug Fixes:
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ project.ext {
26
26
applicationId = ' au.com.shiftyjelly.pocketcasts'
27
27
28
28
versionCode = getVersionCode()
29
- versionName = ' 7.20.2 ' + getVersionNameSuffix()
29
+ versionName = ' 7.20.3 ' + getVersionNameSuffix()
30
30
31
31
// Android
32
32
minSdkVersion = 23
Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ data class FolderResponse(
16
16
@field:Json(name = "dateAdded") val dateAdded : Date ?
17
17
) {
18
18
fun toFolder (): Folder ? {
19
- if (folderUuid == null || name == null || color == null || sortPosition == null || podcastsSortType == null || dateAdded == null ) {
19
+ if (folderUuid == null || name == null || dateAdded == null ) {
20
20
return null
21
21
}
22
22
return Folder (
23
23
uuid = folderUuid,
24
24
name = name,
25
- color = color,
25
+ color = color ? : 0 ,
26
26
addedDate = dateAdded,
27
- sortPosition = sortPosition,
28
- podcastsSortType = podcastsSortType,
27
+ sortPosition = sortPosition ? : 0 ,
28
+ podcastsSortType = PodcastsSortType .fromServerId( podcastsSortType?.serverId) ,
29
29
deleted = false ,
30
30
syncModified = 0
31
31
)
You can’t perform that action at this time.
0 commit comments