Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Mobile
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
219
Merge Requests
12
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Compare Revisions
6511696cf402589e6f201c467945c17c551d3eaf...5052b290d7ad0c7720d1885882169534aa7e86da
Source
5052b290d7ad0c7720d1885882169534aa7e86da
...
Target
6511696cf402589e6f201c467945c17c551d3eaf
Compare
Commits (2)
(chore) correct config
· 95928fde
Martin Santangelo
authored
21 minutes ago
95928fde
(feat) support theme color in comment inputs
· 5052b290
Martin Santangelo
authored
20 minutes ago
5052b290
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
ios/Podfile.lock
View file @
5052b290
...
...
@@ -285,7 +285,7 @@ PODS:
- React
- RNReanimated (1.7.0):
- React
- RNScreens (2.0.0-beta.
7
):
- RNScreens (2.0.0-beta.
8
):
- React
- RNSentry (1.2.2):
- React
...
...
@@ -545,7 +545,7 @@ SPEC CHECKSUMS:
RNGestureHandler: 911d3b110a7a233a34c4f800e7188a84b75319c6
RNLocalize: 07eb7a91d10021cdf59d80061ebf3adb8a5b5688
RNReanimated: 031fe8d9ea93c2bd689a40f05320ef9d96f74d7f
RNScreens:
b9ea46d65967a1f74b9aaa1229d0f74f58d216b5
RNScreens:
d56b2da8367a56bbc9840e16d968339eb0ec7e7f
RNSentry: 9cfa3717b1e6bf9ad4b124683e78e3b98b01d3af
RNShare: 8b171d4b43c1d886917fdd303bf7a4b87167b05c
RNSVG: f6177f8d7c095fada7cfee2e4bb7388ba426064c
...
...
This diff is collapsed.
src/comments/CommentList.js
View file @
5052b290
...
...
@@ -80,8 +80,7 @@ type CommentType = {
const
isIOS
=
Platform
.
OS
===
'
ios
'
;
const
vPadding
=
isIphoneX
?
88
:
66
;
const
paddingBottom
=
isIphoneX
?
{
paddingBottom
:
12
}
:
null
;
const
inputStyle
=
isIOS
?
{
marginTop
:
3
}
:
{
marginTop
:
2
};
const
inputStyle
=
isIOS
?
{
marginTop
:
3
,
paddingVertical
:
2
}
:
{
marginTop
:
2
,
paddingVertical
:
2
};
/**
* Comment List Component
*/
...
...
@@ -355,10 +354,11 @@ class CommentList extends React.Component<PropsType, StateType> {
testID
=
{
this
.
props
.
parent
?
'
CommentParentView
'
:
''
}
>
<
Image
source
=
{
avatarImg
}
style
=
{
CmpStyle
.
posterAvatar
}
/
>
<
TextInput
style
=
{[
CS
.
flexContainer
,
CS
.
marginLeft
,
inputStyle
,
{
paddingVertical
:
2
}
]}
style
=
{[
CS
.
flexContainer
,
CS
.
marginLeft
,
inputStyle
,
ThemedStyles
.
style
.
colorPrimaryText
]}
editable
=
{
true
}
underlineColorAndroid
=
'
transparent
'
placeholder
=
{
i18n
.
t
(
'
activity.typeComment
'
)}
placeholderTextColor
=
{
ThemedStyles
.
getColor
(
'
secondary_text
'
)}
onChangeText
=
{
this
.
setText
}
onFocus
=
{
this
.
onFocus
}
onBlur
=
{
this
.
onBlur
}
...
...
@@ -377,18 +377,18 @@ class CommentList extends React.Component<PropsType, StateType> {
<
TouchableOpacity
onPress
=
{
this
.
showAttachment
}
style
=
{
CS
.
paddingRight2x
}
>
<
Icon
name
=
"
md-attach
"
size
=
{
24
}
style
=
{[
CS
.
paddingRight2x
,
CS
.
colorDarkGreyed
]}
/
>
<
Icon
name
=
"
md-attach
"
size
=
{
24
}
style
=
{[
CS
.
paddingRight2x
,
ThemedStyles
.
style
.
colorIcon
]}
/
>
<
/TouchableOpacity
>
<
TouchableOpacity
onPress
=
{
comments
.
toggleMature
}
style
=
{
CS
.
paddingRight2x
}
>
<
IconMd
name
=
"
explicit
"
size
=
{
24
}
style
=
{[
CS
.
paddingRight2x
,
comments
.
mature
?
CS
.
colorDanger
:
CS
.
colorDarkGreyed
]}
/
>
<
IconMd
name
=
"
explicit
"
size
=
{
24
}
style
=
{[
CS
.
paddingRight2x
,
comments
.
mature
?
ThemedStyles
.
style
.
colorAlert
:
ThemedStyles
.
style
.
colorIcon
]}
/
>
<
/TouchableOpacity
>
<
TouchableOpacity
onPress
=
{
this
.
postComment
}
style
=
{
CS
.
paddingRight2x
}
testID
=
"
PostCommentButton
"
>
<
Icon
name
=
"
md-send
"
size
=
{
24
}
style
=
{
CS
.
colorDarkGreyed
}
/
>
<
Icon
name
=
"
md-send
"
size
=
{
24
}
style
=
{
ThemedStyles
.
style
.
colorIcon
}
/
>
<
/TouchableOpacity
>
<
/View
>
}
...
...
This diff is collapsed.
src/config/Config.js
View file @
5052b290
...
...
@@ -38,7 +38,7 @@ export const CODE_PUSH_TOKEN = '';
* Plataform dependant or fixed features
*/
export
const
MINDS_FEATURES
=
{
crypto
:
Platform
.
OS
===
'
ios
'
?
tru
e
:
true
,
crypto
:
Platform
.
OS
===
'
ios
'
?
fals
e
:
true
,
'
onboarding-december-2019
'
:
true
,
'
navigation-2020
'
:
true
,
};
...
...
This diff is collapsed.