This repository was archived by the owner on Feb 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ const styles = StyleSheet.create({
2828 } ,
2929} ) ;
3030
31- const NoRouteView = ( { channel, payment } ) => (
31+ const PaymentFailedView = ( { channel, payment } ) => (
3232 < Background color = { color . blackDark } >
3333 < MainContent >
3434 < FormStretcher >
3535 < LightningErrorIcon height = { 115 * 0.8 } width = { 60 * 0.8 } />
36- < H1Text style = { styles . h1Txt } > No route found </ H1Text >
36+ < H1Text style = { styles . h1Txt } > Payment Failed </ H1Text >
3737 < CopyText style = { styles . copyTxt } >
38- { "You'll need to manually create a channel" }
38+ { 'You may need to manually create a channel.' }
3939 </ CopyText >
4040 </ FormStretcher >
4141 < PillButton style = { styles . createBtn } onPress = { ( ) => channel . initCreate ( ) } >
@@ -48,9 +48,9 @@ const NoRouteView = ({ channel, payment }) => (
4848 </ Background >
4949) ;
5050
51- NoRouteView . propTypes = {
51+ PaymentFailedView . propTypes = {
5252 channel : PropTypes . object . isRequired ,
5353 payment : PropTypes . object . isRequired ,
5454} ;
5555
56- export default observer ( NoRouteView ) ;
56+ export default observer ( PaymentFailedView ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import PayLightningDone from '../src/view/pay-lightning-done';
3838import PayBitcoin from '../src/view/pay-bitcoin' ;
3939import PayBitcoinConfirm from '../src/view/pay-bitcoin-confirm' ;
4040import PayBitcoinDone from '../src/view/pay-bitcoin-done' ;
41- import NoRoute from '../src/view/no-route ' ;
41+ import PaymentFailed from '../src/view/payment-failed ' ;
4242import Loader from '../src/view/loader' ;
4343import LoaderSyncing from '../src/view/loader-syncing' ;
4444import SelectSeed from '../src/view/select-seed' ;
@@ -149,7 +149,9 @@ storiesOf('Screens', module)
149149 . add ( 'Pay Lightning Done' , ( ) => (
150150 < PayLightningDone store = { store } payment = { payment } nav = { nav } />
151151 ) )
152- . add ( 'No Route Found' , ( ) => < NoRoute channel = { channel } payment = { payment } /> )
152+ . add ( 'Payment Failed' , ( ) => (
153+ < PaymentFailed channel = { channel } payment = { payment } />
154+ ) )
153155 . add ( 'Pay Bitcoin' , ( ) => (
154156 < PayBitcoin store = { store } payment = { payment } nav = { nav } />
155157 ) )
You can’t perform that action at this time.
0 commit comments