Skip to content

Commit 8f06468

Browse files
authored
Update LNURL styles (#801)
1 parent 007c516 commit 8f06468

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

views/LnurlAuth.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import url from 'url';
22
import * as React from 'react';
33
import RNFetchBlob from 'rn-fetch-blob';
44
import { Alert, StyleSheet, Text, View } from 'react-native';
5-
import { Button, Header, Icon } from 'react-native-elements';
5+
import { Header, Icon } from 'react-native-elements';
66
import querystring from 'querystring-es3';
77
import { Hash as sha256Hash, HMAC as sha256HMAC } from 'fast-sha256';
88

9+
import Button from './../components/Button';
910
import LoadingIndicator from './../components/LoadingIndicator';
1011

1112
import { themeColor } from './../utils/ThemeUtils';
@@ -62,7 +63,7 @@ export default class LnurlAuth extends React.Component<
6263
Alert.alert(
6364
localeString('views.LnurlPay.LnurlPay.invalidParams'),
6465
err.message,
65-
[{ text: 'OK', onPress: () => void 0 }],
66+
[{ text: localeString('general.ok'), onPress: () => void 0 }],
6667
{ cancelable: false }
6768
);
6869
}
@@ -226,9 +227,15 @@ export default class LnurlAuth extends React.Component<
226227
leftComponent={<BackButton />}
227228
centerComponent={{
228229
text: 'Authentication Request',
229-
style: { color: '#fff' }
230+
style: {
231+
color: themeColor('text'),
232+
fontFamily: 'Lato-Regular'
233+
}
234+
}}
235+
backgroundColor={themeColor('background')}
236+
containerStyle={{
237+
borderBottomWidth: 0
230238
}}
231-
backgroundColor="grey"
232239
/>
233240
<View style={styles.content}>
234241
<Text

views/LnurlChannel.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import * as React from 'react';
33
import RNFetchBlob from 'rn-fetch-blob';
44
import { Alert, StyleSheet, Switch, Text, View } from 'react-native';
55
import { inject, observer } from 'mobx-react';
6-
import { Button, Header, Icon } from 'react-native-elements';
6+
import { Header, Icon } from 'react-native-elements';
77
import querystring from 'querystring-es3';
88

9+
import Button from './../components/Button';
910
import LoadingIndicator from './../components/LoadingIndicator';
1011

1112
import ChannelsStore from './../stores/ChannelsStore';
@@ -195,9 +196,15 @@ export default class LnurlChannel extends React.Component<
195196
leftComponent={<BackButton />}
196197
centerComponent={{
197198
text: 'Incoming Channel',
198-
style: { color: '#fff' }
199+
style: {
200+
color: themeColor('text'),
201+
fontFamily: 'Lato-Regular'
202+
}
203+
}}
204+
backgroundColor={themeColor('background')}
205+
containerStyle={{
206+
borderBottomWidth: 0
199207
}}
200-
backgroundColor="grey"
201208
/>
202209
<View style={styles.content}>
203210
<Text

views/LnurlPay/LnurlPay.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ import * as React from 'react';
33
import RNFetchBlob from 'rn-fetch-blob';
44
import { Alert, StyleSheet, Text, View } from 'react-native';
55
import { inject, observer } from 'mobx-react';
6-
import { Button, Header, Icon } from 'react-native-elements';
6+
import { Header, Icon } from 'react-native-elements';
77
import querystring from 'querystring-es3';
8+
9+
import Button from './../../components/Button';
810
import TextInput from './../../components/TextInput';
11+
912
import InvoicesStore from './../../stores/InvoicesStore';
1013
import LnurlPayStore from './../../stores/LnurlPayStore';
14+
1115
import LnurlPayMetadata from './Metadata';
16+
1217
import { localeString } from './../../utils/LocaleUtils';
1318
import { themeColor } from './../../utils/ThemeUtils';
1419

@@ -163,9 +168,15 @@ export default class LnurlPay extends React.Component<
163168
leftComponent={<BackButton />}
164169
centerComponent={{
165170
text: 'Send',
166-
style: { color: themeColor('text') }
171+
style: {
172+
color: themeColor('text'),
173+
fontFamily: 'Lato-Regular'
174+
}
175+
}}
176+
backgroundColor={themeColor('background')}
177+
containerStyle={{
178+
borderBottomWidth: 0
167179
}}
168-
backgroundColor={themeColor('secondary')}
169180
/>
170181
<View style={styles.content}>
171182
<Text

views/Wallet/Wallet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import LayerBalances from './../../components/LayerBalances';
3737
import Temple from './../../assets/images/SVG/Temple.svg';
3838
import ChannelsIcon from './../../assets/images/SVG/Channels.svg';
3939
import CaretUp from './../../assets/images/SVG/Caret Up.svg';
40-
import WordLogo from './../../asssets/images/SVG/Word Logo - no outline.svg';
40+
import WordLogo from './../../assets/images/SVG/Word Logo - no outline.svg';
4141

4242
interface WalletProps {
4343
enterSetup: any;

0 commit comments

Comments
 (0)