Use theme color more consistently

This commit is contained in:
Lei Nelissen
2020-07-10 15:25:32 +02:00
parent 91f4f349b9
commit f9b589cbe2
10 changed files with 32 additions and 14 deletions

View File

@@ -6,6 +6,7 @@ import { setJellyfinCredentials } from 'store/settings/actions';
import { useDispatch } from 'react-redux';
import { useNavigation, StackActions } from '@react-navigation/native';
import CredentialGenerator from './components/CredentialGenerator';
import { THEME_COLOR } from 'CONSTANTS';
export default function SetJellyfinServer() {
// State for first screen
@@ -40,7 +41,12 @@ export default function SetJellyfinServer() {
autoCapitalize="none"
autoCorrect={false}
/>
<Button title="Set server" onPress={() => setIsLogginIn(true)} disabled={!serverUrl?.length} />
<Button
title="Set server"
onPress={() => setIsLogginIn(true)}
disabled={!serverUrl?.length}
color={THEME_COLOR}
/>
</View>
)}
</Modal>