Skip to content

Commit

Permalink
Added border size to sync row table height.
Browse files Browse the repository at this point in the history
  • Loading branch information
tijme committed Jul 22, 2022
1 parent 4a0f6ac commit 26502a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Raivo/Controllers/Setup/SetupStorageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SetupStorageViewController: FormViewController, SetupState {

if let cellHeight = synchronizationProviderForm?.syncerOfflineRow.cell.frame.height {
let targetHeight = CGFloat(SyncerHelper.availableSyncers.count) * cellHeight
synchronizationProviderFormHeight.constant = targetHeight
synchronizationProviderFormHeight.constant = targetHeight + 2 // + 2 (border)
}
}

Expand Down

0 comments on commit 26502a3

Please sign in to comment.