Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix animated progress bar color

ammarahm-ed88fe6cc9272e
diff --git a/apps/mobile/src/components/AppLoader/index.js b/apps/mobile/src/components/AppLoader/index.js
index 023a22667..31e52d8b9 100644
--- a/apps/mobile/src/components/AppLoader/index.js
+++ b/apps/mobile/src/components/AppLoader/index.js
@@ -22,7 +22,7 @@ import {
} from '../../services/EventManager';
import PremiumService from '../../services/PremiumService';
import {editing} from '../../utils';
-import {COLOR_SCHEME_DARK} from '../../utils/Colors';
+import {COLOR_SCHEME_DARK, COLOR_SCHEME_LIGHT} from '../../utils/Colors';
import {db} from '../../utils/database';
import {
eOpenAnnouncementDialog,
@@ -321,7 +321,9 @@ const AppLoader = ({onLoad}) => {
flexDirection: 'row',
width: 100
}}>
- <AnimatedProgress fill={colors.accent} current={4} total={4} />
+ <AnimatedProgress style={{
+ backgroundColor:Appearance.getColorScheme() === 'dark' ? COLOR_SCHEME_DARK.nav : COLOR_SCHEME_LIGHT.nav
+ }} fill={colors.accent} current={4} total={4} />
</View>
)}
</Animated.View>