From d267f0a58e66e33fb4a8bf36952eefd291a6ad81 Mon Sep 17 00:00:00 2001 From: sasha malina Date: Tue, 10 Apr 2018 20:00:27 +0300 Subject: [PATCH 1/2] Fix doubling separator line issue The problem is that for 2..last-1 rows performs .full(middleSeparatorConfiguration, middleSeparatorConfiguration) action, that leads to doubling separator line height --- .../Extensions/Array/Array+SeparatorRowBoxExtensions.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Extensions/Array/Array+SeparatorRowBoxExtensions.swift b/Sources/Extensions/Array/Array+SeparatorRowBoxExtensions.swift index 4269be1a..3a0e8ad3 100644 --- a/Sources/Extensions/Array/Array+SeparatorRowBoxExtensions.swift +++ b/Sources/Extensions/Array/Array+SeparatorRowBoxExtensions.swift @@ -43,8 +43,8 @@ public extension Array where Element == SeparatorRowBox { case 1: first?.set(separatorType: .full(extremeSeparatorConfiguration, extremeSeparatorConfiguration)) default: - forEach { $0.set(separatorType: .full(middleSeparatorConfiguration, middleSeparatorConfiguration)) } - first?.set(separatorType: .top(extremeSeparatorConfiguration)) + forEach { $0.set(separatorType: .bottom(middleSeparatorConfiguration))} + first?.set(separatorType: .full(extremeSeparatorConfiguration, middleSeparatorConfiguration)) last?.set(separatorType: .bottom(extremeSeparatorConfiguration)) } } From 74b61cc9213d76021aa22779bff50b5b09a0a6e9 Mon Sep 17 00:00:00 2001 From: sasha malina Date: Wed, 11 Apr 2018 16:17:41 +0300 Subject: [PATCH 2/2] Update changelog & pod version --- CHANGELOG.md | 2 ++ LeadKit.podspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d0cbb1..d6549d1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Changelog +### 0.7.7 +- **Fix**: Fix doubling separator line issue ### 0.7.6 diff --git a/LeadKit.podspec b/LeadKit.podspec index 0d6dcc94..dc722041 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.7.6" + s.version = "0.7.7" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0"