mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-27 00:00:26 +00:00
Use new logo
This commit is contained in:
parent
eae1d2e922
commit
af44e42326
2
App.js
2
App.js
@ -56,7 +56,7 @@ const App = observer(({ skipLoadingScreen }) => {
|
|||||||
const loadImages = () => {
|
const loadImages = () => {
|
||||||
const images = [
|
const images = [
|
||||||
require('./assets/images/splash.png'),
|
require('./assets/images/splash.png'),
|
||||||
require('./assets/images/logowhite.png')
|
require('./assets/images/logo-dark.png')
|
||||||
];
|
];
|
||||||
return images.map(image => Asset.fromModule(image).downloadAsync());
|
return images.map(image => Asset.fromModule(image).downloadAsync());
|
||||||
};
|
};
|
||||||
|
BIN
assets/images/logo-dark.png
Normal file
BIN
assets/images/logo-dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 KiB |
BIN
assets/images/logo-light.png
Normal file
BIN
assets/images/logo-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
@ -38,8 +38,8 @@ const AddServerScreen = () => {
|
|||||||
style={styles.logoImage}
|
style={styles.logoImage}
|
||||||
source={
|
source={
|
||||||
rootStore.settingStore.theme.dark ?
|
rootStore.settingStore.theme.dark ?
|
||||||
require('../assets/images/logowhite.png') :
|
require('../assets/images/logo-dark.png') :
|
||||||
require('../assets/images/logoblack.png')
|
require('../assets/images/logo-light.png')
|
||||||
}
|
}
|
||||||
fadeDuration={0} // we need to adjust Android devices (https://facebook.github.io/react-native/docs/image#fadeduration) fadeDuration prop to `0` as it's default value is `300`
|
fadeDuration={0} // we need to adjust Android devices (https://facebook.github.io/react-native/docs/image#fadeduration) fadeDuration prop to `0` as it's default value is `300`
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user