Showing 1 of 1 files from the diff.

@@ -175,7 +175,6 @@
Loading
175 175
        let insetAmount = spacing / 2
176 176
        imageEdgeInsets = UIEdgeInsets(top: 0, left: -insetAmount, bottom: 0, right: insetAmount)
177 177
        titleEdgeInsets = UIEdgeInsets(top: 0, left: insetAmount, bottom: 0, right: -insetAmount)
178 -
        contentEdgeInsets = UIEdgeInsets(top: 0, left: insetAmount, bottom: 0, right: insetAmount)
179 178
    }
180 179
181 180
    /// SwifterSwift: Set image on the right text
@@ -196,9 +195,6 @@
Loading
196 195
        
197 196
        let imageOffset = -(titleSize.width + spacing / 2)
198 197
        imageEdgeInsets = UIEdgeInsets(top: 0, left: -imageOffset, bottom: 0, right: imageOffset)
199 -
        
200 -
        let edgeOffset = abs(titleSize.width - imageSize.width) / 2.0
201 -
        contentEdgeInsets = UIEdgeInsets(top: 0, left: edgeOffset, bottom: 0, right: edgeOffset)
202 198
    }
203 199
204 200
    /// SwifterSwift: Set image above text
@@ -218,9 +214,6 @@
Loading
218 214
        
219 215
        let imageOffset = -(titleSize.height + spacing)
220 216
        imageEdgeInsets = UIEdgeInsets(top: imageOffset, left: 0.0, bottom: 0.0, right: -titleSize.width)
221 -
        
222 -
        let edgeOffset = abs(titleSize.height - imageSize.height) / 2.0
223 -
        contentEdgeInsets = UIEdgeInsets(top: edgeOffset, left: 0.0, bottom: edgeOffset, right: 0.0)
224 217
    }
225 218
226 219
    /// SwifterSwift: Set image below text
@@ -240,9 +233,6 @@
Loading
240 233
241 234
        let imageOffset = -(titleSize.height + spacing)
242 235
        imageEdgeInsets = UIEdgeInsets(top: 0.0, left: 0.0, bottom: imageOffset, right: -titleSize.width)
243 -
244 -
        let edgeOffset = abs(titleSize.height - imageSize.height) / 2.0
245 -
        contentEdgeInsets = UIEdgeInsets(top: edgeOffset, left: 0.0, bottom: edgeOffset, right: 0.0)
246 236
    }
247 237
}
248 238
Files Coverage
Sources/SwifterSwift 92.86%
Project Totals (100 files) 92.86%
1
codecov:
2
  token: 9c92b00a-43e8-4dd3-b455-196052f16f86
3

4
coverage:
5
  precision: 2
6
  round: down
7
  range: 70...100
8

9
  status:
10
    project: true
11
    patch: true
12
    changes: true
13

14
  ignore:
15
    - "Sources/SwifterSwift/Deprecated/*"
16
    - "Sources/SwifterSwift/*/Deprecated/*"
17
    - "Tests/**/*"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading