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
166
Merge Requests
15
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Compare Revisions
5173a23b306bc6ed29214911679a7d39b41b584f...fadc101a8c2e24ccf8bcbff9d0580cff8b6d1d24
Source
fadc101a8c2e24ccf8bcbff9d0580cff8b6d1d24
...
Target
5173a23b306bc6ed29214911679a7d39b41b584f
Compare
Commits (2)
(fix) boost peer rejected missing space
· 5b85b1cf
Martin Santangelo
authored
1 week ago
5b85b1cf
Merge branch 'fix/missing-space-peer-boost-rejected-notif' into 'release/3.15.0'
· fadc101a
Brian Hatchet
authored
40 minutes ago
Fix boost peer rejected missing space See merge request
!469
fadc101a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
11 deletions
+12
-11
__tests__/notifications/notification/__snapshots__/Notification.js.snap
View file @
fadc101a
...
...
@@ -492,6 +492,7 @@ exports[`notification component renders correctly for every type 5`] = `
some title
</Text>
</Text>
You have not been charged
</Text>
</View>
...
...
This diff is collapsed.
__tests__/notifications/notification/view/__snapshots__/BoostPeerRejectedView.js.snap
View file @
fadc101a
...
...
@@ -52,6 +52,7 @@ exports[`renders correctly 1`] = `
some title
</Text>
</Text>
You have not been charged
</Text>
</View>
...
...
This diff is collapsed.
src/notifications/notification/view/BoostPeerAcceptedView.js
View file @
fadc101a
...
...
@@ -35,14 +35,14 @@ export default class BoostPeerAcceptedView extends BoostGiftView {
}
getType
()
{
return
(
this
.
props
.
entity
.
params
.
type
==
'
pro
'
)
?
i18n
.
t
(
'
usd
'
)
:
i18n
.
t
(
'
tokens
'
);
return
(
this
.
props
.
entity
.
params
.
type
==
=
'
pro
'
)
?
i18n
.
t
(
'
usd
'
)
:
i18n
.
t
(
'
tokens
'
);
}
getAmount
()
{
if
(
this
.
props
.
entity
.
params
.
type
==
'
pro
'
)
{
if
(
this
.
props
.
entity
.
params
.
type
==
=
'
pro
'
)
{
return
this
.
props
.
entity
.
params
.
bid
;
}
else
{
return
number
(
token
(
this
.
props
.
entity
.
params
.
bid
,
18
),
0
,
3
)
return
number
(
token
(
this
.
props
.
entity
.
params
.
bid
,
18
),
0
,
3
)
;
}
}
}
\ No newline at end of file
}
This diff is collapsed.
src/notifications/notification/view/BoostPeerRejectedView.js
View file @
fadc101a
...
...
@@ -26,10 +26,9 @@ export default class BoostPeerRejectedView extends BoostPeerAcceptedView {
return
(
<
View
style
=
{
styles
.
bodyContents
}
>
<
Text
onPress
=
{()
=>
this
.
navToBoostConsole
({
filter
:
'
peer
'
})}
>
<
Text
style
=
{
styles
.
bold
}
onPress
=
{
this
.
navToChannel
}
>
@{
entity
.
from
.
username
}
<
/Text> {i18n.t
(
'notification.boostPeerRejected'
)
} <Text style={styles.bold}>{amount} {type}</
Text
>
{
description
}
{
i18n
.
t
(
'
notification.notCharged
'
)}
<
Text
style
=
{
styles
.
bold
}
onPress
=
{
this
.
navToChannel
}
>
@{
entity
.
from
.
username
}
<
/Text> {i18n.t
(
'notification.boostPeerRejected'
)
} <Text style={styles.bold}>{amount} {type}</
Text
>
{
description
}
{
i18n
.
t
(
'
notification.notCharged
'
)}
<
/Text
>
<
/View
>
)
)
;
}
}
\ No newline at end of file
}
This diff is collapsed.
src/notifications/notification/view/BoostRejectedView.js
View file @
fadc101a
...
...
@@ -4,7 +4,7 @@ import React, {
import
{
Text
,
View
View
,
}
from
'
react-native
'
;
import
BoostGiftView
from
'
./BoostGiftView
'
;
...
...
@@ -34,6 +34,6 @@ export default class BoostRejectedView extends BoostGiftView {
<
View
style
=
{
styles
.
bodyContents
}
>
<
Text
onPress
=
{
this
.
navToBoostConsole
}
>
{
i18n
.
to
(
'
notification.boostRejected
'
,
{
reason
},
{
description
})}
<
/Text
>
<
/View
>
)
)
;
}
}
\ No newline at end of file
}
This diff is collapsed.