File tree Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -263,18 +263,15 @@ final class ActivityViewReactor: ReactorKit.Reactor {
263
263
if let doc = try ? HTML ( html: response. data, encoding: . utf8) {
264
264
for rect in doc. css ( " rect " ) {
265
265
if var date = rect [ " data-date " ] ,
266
- var count = rect [ " data-count " ] ,
267
266
let dataLevel = rect [ " data-level " ] {
268
267
269
268
date = date. replacingOccurrences ( of: " \\ " , with: " " )
270
269
. replacingOccurrences ( of: " / " , with: " " )
271
270
. replacingOccurrences ( of: " \" " , with: " " )
272
- count = count. replacingOccurrences ( of: " \\ " , with: " " )
273
- . replacingOccurrences ( of: " \" " , with: " " )
274
271
275
272
let colorType = ContributionHexColorTypes . allCases. first { $0. rawValue == Int ( dataLevel) }
276
273
if let hexString = colorType? . hexString {
277
- contributions. append ( Contribution ( date: date, contribution: Int ( count ) !, hexColor: hexString) )
274
+ contributions. append ( Contribution ( date: date, contribution: Int ( dataLevel ) !, hexColor: hexString) )
278
275
}
279
276
}
280
277
}
Original file line number Diff line number Diff line change @@ -257,18 +257,15 @@ final class BuddyViewReactor: Reactor {
257
257
if let doc = try ? HTML ( html: response. data, encoding: . utf8) {
258
258
for rect in doc. css ( " rect " ) {
259
259
if var date = rect [ " data-date " ] ,
260
- var count = rect [ " data-count " ] ,
261
260
let dataLevel = rect [ " data-level " ] {
262
261
263
262
date = date. replacingOccurrences ( of: " \\ " , with: " " )
264
263
. replacingOccurrences ( of: " / " , with: " " )
265
264
. replacingOccurrences ( of: " \" " , with: " " )
266
- count = count. replacingOccurrences ( of: " \\ " , with: " " )
267
- . replacingOccurrences ( of: " \" " , with: " " )
268
265
269
266
let colorType = ContributionHexColorTypes . allCases. first { $0. rawValue == Int ( dataLevel) }
270
267
if let hexString = colorType? . hexString {
271
- contributions. append ( Contribution ( date: date, contribution: Int ( count ) !, hexColor: hexString) )
268
+ contributions. append ( Contribution ( date: date, contribution: Int ( dataLevel ) !, hexColor: hexString) )
272
269
}
273
270
}
274
271
}
Original file line number Diff line number Diff line change 85
85
<key >CFBundlePackageType </key >
86
86
<string >APPL </string >
87
87
<key >CFBundleShortVersionString </key >
88
- <string >2.1.4 </string >
88
+ <string >2.1.5 </string >
89
89
<key >CFBundleURLTypes </key >
90
90
<array >
91
91
<dict >
100
100
</dict >
101
101
</array >
102
102
<key >CFBundleVersion </key >
103
- <string >3 </string >
103
+ <string >4 </string >
104
104
<key >ITSAppUsesNonExemptEncryption </key >
105
105
<false />
106
106
<key >LSApplicationQueriesSchemes </key >
Original file line number Diff line number Diff line change @@ -332,4 +332,4 @@ SPEC CHECKSUMS:
332
332
333
333
PODFILE CHECKSUM: 889e35fd688c78c4e6f036a683a2aed3bbd554c6
334
334
335
- COCOAPODS: 1.11.2
335
+ COCOAPODS: 1.11.3
You can’t perform that action at this time.
0 commit comments