Skip to content

Commit

Permalink
Update YPLibraryViewCell.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstromer-ltk committed Aug 7, 2024
1 parent 80ddf4f commit fd56c2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Pages/Gallery/YPLibraryViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ class YPMultipleSelectionIndicator: UIView {

func set(number: Int?) {
label.isHidden = (number == nil)
circle.isHidden = YPConfig.library.isBulkUploading && number == nil
let isHiddenDuringBulkUploads = YPConfig.library.isBulkUploading && number == nil
circle.isHidden = isHiddenDuringBulkUploads
imageView.isHidden = isHiddenDuringBulkUploads
if let number = number {
circle.backgroundColor = selectionColor
circle.layer.borderColor = selectionBorderColor.cgColor
Expand Down

0 comments on commit fd56c2b

Please sign in to comment.