FIX: Dark mode vs Light mode display issues with memos. #6307

This commit is contained in:
Marcos Rodriguez Velez 2024-03-24 18:33:16 -04:00
parent 16a8577c43
commit 45785bbfd7
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { View, Text, Linking, StyleSheet, Image, ScrollView } from 'react-native';
import { View, Linking, StyleSheet, Image, ScrollView } from 'react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { BlueButtonLink, BlueCard, BlueLoading, BlueSpacing20, BlueSpacing40, BlueText } from '../../BlueComponents';
import navigationStyle from '../../components/navigationStyle';
@ -86,7 +86,7 @@ export default class LnurlPaySuccess extends Component {
{(preamble || url || message) && (
<BlueCard>
<View style={styles.successContainer}>
<Text style={styles.successText}>{preamble}</Text>
<BlueText style={styles.successText}>{preamble}</BlueText>
{url ? (
<BlueButtonLink
title={url}
@ -95,9 +95,7 @@ export default class LnurlPaySuccess extends Component {
}}
/>
) : (
<Text selectable style={{ ...styles.successText, ...styles.successValue }}>
{message}
</Text>
<BlueText selectable>{message}</BlueText>
)}
</View>
</BlueCard>
@ -167,9 +165,6 @@ const styles = StyleSheet.create({
textAlign: 'center',
margin: 4,
},
successValue: {
fontWeight: 'bold',
},
description: {
marginTop: 20,
},