Skip to content

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

mobile: fix incorrect colors uage

ammarahm-edfbf56f266331
diff --git a/apps/mobile/app/components/app-lock-overlay/index.js b/apps/mobile/app/components/app-lock-overlay/index.js
index aa95866dc..c0467334d 100644
--- a/apps/mobile/app/components/app-lock-overlay/index.js
+++ b/apps/mobile/app/components/app-lock-overlay/index.js
@@ -100,7 +100,7 @@ const AppLockedOverlay = () => {
appLocked && (
<View
style={{
- backgroundColor: colors.bg,
+ backgroundColor: colors.primary.background,
width: "100%",
height: "100%",
position: "absolute",
@@ -160,7 +160,7 @@ const AppLockedOverlay = () => {
style={{
width: "100%",
padding: 12,
- backgroundColor: colors.bg
+ backgroundColor: colors.primary.background
}}
>
{user ? (
diff --git a/apps/mobile/app/components/attachments/index.js b/apps/mobile/app/components/attachments/index.js
index 421a4a206..d65b3bdc7 100644
--- a/apps/mobile/app/components/attachments/index.js
+++ b/apps/mobile/app/components/attachments/index.js
@@ -241,7 +241,7 @@ export const AttachmentDialog = ({ note }) => {
width: "100%",
height: 50,
flexDirection: "row",
- backgroundColor: colors.bg
+ backgroundColor: colors.primary.background
}}
contentContainerStyle={{
minWidth: "100%",
diff --git a/apps/mobile/share/share.js b/apps/mobile/share/share.js
index 237f7c695..a725e2d88 100644
--- a/apps/mobile/share/share.js
+++ b/apps/mobile/share/share.js
@@ -845,7 +845,7 @@ const ShareView = ({ quicknote = false }) => {
/>
<Button
- color={colors.bg}
+ color={colors.primary.bg}
onPress={() => {
setSearchMode("appendNote");
}}