Join Slack
Powered by
You could use filter/map more and assign the resul...
# tornadofx
e
edvin
09/04/2016, 8:39 AM
You could use filter/map more and assign the result to photolist directly. Also, a list of valid extensions and checked against
validExtensions.contains(file.name.toLowerCase().substringAfterLast('.')
would also remove some of that uglyness 🙂
Open in Slack
Previous
Next