Some fixes for API log error
This commit is contained in:
@@ -148,10 +148,7 @@ const ButtonBase: React.FC<ButtonProps> = ({
|
||||
)}
|
||||
{iconImage && <Image source={{ uri: iconImage }} style={styles.icon} />}
|
||||
{title && (
|
||||
<Text
|
||||
style={[styles.text, type === 'filled' ? { color: '#fff' } : {}]}
|
||||
selectable={false}
|
||||
>
|
||||
<Text style={[styles.text, type === 'filled' ? { color: '#fff' } : {}]}>
|
||||
{title}
|
||||
</Text>
|
||||
)}
|
||||
@@ -176,6 +173,7 @@ const styles = StyleSheet.create({
|
||||
height: 18,
|
||||
},
|
||||
text: {
|
||||
userSelect: 'none',
|
||||
marginHorizontal: 8,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -72,7 +72,7 @@ const ScaffoldAuth: FunctionComponent<ScaffoldAuthProps> = ({
|
||||
<Row space={2} flex={1}>
|
||||
<Image
|
||||
source={{ uri: logo?.at(0)?.uri }}
|
||||
alt='Chromacase logo'
|
||||
alt="Chromacase logo"
|
||||
style={{
|
||||
aspectRatio: 1,
|
||||
width: 32,
|
||||
@@ -80,7 +80,13 @@ const ScaffoldAuth: FunctionComponent<ScaffoldAuthProps> = ({
|
||||
}}
|
||||
/>
|
||||
{layout.width > 650 && (
|
||||
<Text fontSize={'xl'} selectable={false}>
|
||||
<Text
|
||||
fontSize={'xl'}
|
||||
style={{
|
||||
// @ts-expect-error - RNW does not have userSelect
|
||||
userSelect: 'none',
|
||||
}}
|
||||
>
|
||||
ChromaCase
|
||||
</Text>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user