Skip to content

Commit c9f8670

Browse files
committed
Обновил тексты в сетке добавления фото
1 parent 4c83689 commit c9f8670

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

SwiftUI-WorkoutApp/Screens/Common/ImagePicker/PickedImagesGrid.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ private extension PickedImagesGrid {
9797
selectionLimit
9898
)
9999
if images.isEmpty {
100-
return "Добавьте фото площадки, максимум \(selectionLimit)"
100+
return "Добавьте фотографии, максимум \(selectionLimit)"
101101
} else {
102-
return selectionLimit > 0
103-
? "Можно добавить ещё \(selectionLimitString)"
104-
: "Больше добавить фото нельзя"
102+
return selectionLimit > 0 ? "Можно добавить ещё \(selectionLimitString)" : ""
105103
}
106104
}
107105

0 commit comments

Comments
 (0)