Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
188
Issues
188
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
4055a233
Commit
4055a233
authored
45 minutes ago
by
Martin Santangelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) remove nsfw toggles from ios
parent
7bb539b4
v3.6.0
No related merge requests found
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CapturePosterFlags.js
src/capture/CapturePosterFlags.js
+2
-2
NewsfeedFilters.js
src/discovery/NewsfeedFilters.js
+2
-1
No files found.
src/capture/CapturePosterFlags.js
View file @
4055a233
import
React
,
{
Component
}
from
'react'
;
import
{
Text
,
TextInput
,
View
,
StyleSheet
}
from
'react-native'
;
import
{
Text
,
TextInput
,
View
,
StyleSheet
,
Platform
}
from
'react-native'
;
import
{
inject
,
observer
}
from
'mobx-react/native'
;
import
FaIcon
from
'react-native-vector-icons/FontAwesome'
;
import
IonIcon
from
'react-native-vector-icons/Ionicons'
;
...
...
@@ -326,7 +326,7 @@ export default class CapturePosterFlags extends Component {
}
renderNsfw
()
{
if
(
GOOGLE_PLAY_STORE
)
return
null
;
if
(
GOOGLE_PLAY_STORE
||
Platform
.
OS
===
'ios'
)
return
null
;
return
(
<
NsfwToggle
containerStyle
=
{
styles
.
cell
}
...
...
This diff is collapsed.
Click to expand it.
src/discovery/NewsfeedFilters.js
View file @
4055a233
...
...
@@ -9,6 +9,7 @@ import {
LayoutAnimation
,
TouchableHighlight
,
StyleSheet
,
Platform
,
}
from
'react-native'
;
import
{
...
...
@@ -172,7 +173,7 @@ export default class NewsfeedFilters extends Component {
<
/View
>
<
/TouchableHighlight
>
<
/View
>
{
!
GOOGLE_PLAY_STORE
&&
<
View
style
=
{[
CS
.
padding
,
CS
.
paddingLeft2x
,
CS
.
paddingRight2x
]}
>
{
(
!
GOOGLE_PLAY_STORE
&&
Platform
.
OS
!==
'ios'
)
&&
<
View
style
=
{[
CS
.
padding
,
CS
.
paddingLeft2x
,
CS
.
paddingRight2x
]}
>
<
NsfwToggle
hideLabel
=
{
true
}
value
=
{
store
.
nsfw
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment