-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use constant for configuring limit #19
Conversation
@hydralisk01, can you review this pull request? |
@@ -47,7 +49,7 @@ internal class CarousellImagePickerController: ImagePickerController { | |||
) | |||
|
|||
let subtitle = NSAttributedString( | |||
string: "You can choose up to 4 photos for your listing.\n", | |||
string: "You can choose up to \(selectionsLimit) photos for your listing.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good idea! Does it need a .stringsdict
in the example for both singular and plural photos?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to pass selectionsLimit
and hint text from viewController?
How to pass selectionsLimit and hint text from viewController? |
Hint text is set via the |
Generated by 🚫 Danger |
Avoid confusion e.g. #14.