Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Minds Mobile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Minds
Minds Mobile
Commits
f13de05c
Commit
f13de05c
authored
5 years ago
by
Martin Santangelo
Browse files
Options
Downloads
Plain Diff
Merge branch 'sprint/FunnyFrog.fix.cameraroll.ios' into 'master'
[Sprint/FunnyFrog] (fix) camera roll not retuning values on ios Closes
#954
See merge request
!206
parents
c6c80ea8
ffb7a4a2
No related branches found
No related tags found
Loading
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/capture/CaptureGallery.js
+6
-2
6 additions, 2 deletions
src/capture/CaptureGallery.js
src/capture/CapturePreview.js
+1
-7
1 addition, 7 deletions
src/capture/CapturePreview.js
with
7 additions
and
9 deletions
src/capture/CaptureGallery.js
+
6
−
2
View file @
f13de05c
...
...
@@ -65,10 +65,14 @@ export default class CaptureGallery extends PureComponent {
* Load photos
*/
_loadPhotos
()
{
CameraRoll
.
getPhotos
(
{
const
params
=
{
first
:
30
,
assetType
:
'
All
'
,
})
}
if
(
Platform
.
OS
===
'
ios
'
)
params
.
groupTypes
=
'
All
'
;
CameraRoll
.
getPhotos
(
params
)
.
then
(
r
=>
{
this
.
setState
({
imagesLoaded
:
true
,
...
...
This diff is collapsed.
Click to expand it.
src/capture/CapturePreview.js
+
1
−
7
View file @
f13de05c
import
React
,
{
PureComponent
}
from
'
react
'
;
import
{
ListView
,
StyleSheet
,
View
,
ScrollView
,
FlatList
,
TextInput
,
Text
,
Button
,
TouchableHighlight
,
Image
,
ActivityIndicator
}
from
'
react-native
'
;
import
{
observer
,
inject
}
from
'
mobx-react/native
'
;
import
Icon
from
'
react-native-vector-icons/Ionicons
'
;
import
api
from
'
./../common/services/api.service
'
;
import
{
post
,
remind
}
from
'
../newsfeed/NewsfeedService
'
;
import
{
StyleSheet
,
View
,
Image
}
from
'
react-native
'
;
import
MindsVideo
from
'
../media/MindsVideo
'
;
import
colors
from
'
../styles/Colors
'
;
/**
* Capture preview
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment