Skip to content

Commit

Permalink
bg: change theme from pure dark to light dark
Browse files Browse the repository at this point in the history
  • Loading branch information
Irirwanirira committed May 29, 2024
1 parent 94205fa commit 48ffeaa
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/(app)/History/CardComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function DoctorComponent({
flexDirection: "row",
alignItems: "center",
justifyContent: "space-between",
backgroundColor: theme ==="dark"? Colors.dark._2 : Colors.others.white,
backgroundColor: theme ==="dark"? Colors.dark._1 : Colors.others.white,
padding: 20,
shadowOffset: { width: -2, height: 4 },
shadowOpacity: 3,
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/History/MessageHistory/Chats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function ChatMessaging() {

return (
<SafeAreaView
style={{ flex: 1, paddingTop: ios ? 10 : 30, backgroundColor: theme==="dark" ? Colors.others.black: Colors.others.white }}
style={{ flex: 1, paddingTop: ios ? 10 : 30, backgroundColor: theme==="dark" ? Colors.dark._1: Colors.others.white }}
>
<StatusBar style="dark" />
<View
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/History/MessageHistory/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MenuComponent: React.FC<MenuComponentProps> = ({closeMenu})=>{
return(
<View style={{
gap: 15,
backgroundColor: theme === "dark" ? Colors.others.black: Colors.others.white,
backgroundColor: theme === "dark" ? Colors.dark._1: Colors.others.white,
padding: 20,
borderRadius: 20,
elevation: 10
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/History/VideoCallHistory/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ return (
<View
style={{
flex: 1,
backgroundColor: theme === "dark"? Colors.others.black : Colors.others.white,
backgroundColor: theme === "dark"? Colors.dark._1: Colors.others.white,
flexDirection: "column",
padding: 20,
position: "relative"
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/History/VoiceCallHistory/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const handleMenu =()=> {
<View
style={{
flex: 1,
backgroundColor: theme==="dark" ? Colors.others.black: Colors.others.white,
backgroundColor: theme==="dark" ? Colors.dark._1 : Colors.others.white,
flexDirection: "column",
padding: 20,
position: "relative"
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/History/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const index = () => {
flex: 1,
flexDirection: "column",
padding: 20,
backgroundColor: theme === "dark" ? Colors.others.black : Colors.others.white,
backgroundColor: theme === "dark" ? Colors.dark._1 : Colors.others.white,

}}
>
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function Layout() {
display: tabVisible ? "flex" : "none",
flexDirection: "row",
justifyContent: "space-between",
backgroundColor: theme === "dark"? Colors.others.black : Colors.others.white,
backgroundColor: theme === "dark"? Colors.dark._1 : Colors.others.white,
paddingHorizontal: 30,
paddingVertical: 25,

Expand Down
3 changes: 1 addition & 2 deletions app/(app)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import React from "react";
export default function Index() {
useEffect(() => {
setTimeout(() => {
// router.push("onBoarding/FirstScreen");
router.push("History");
router.push("onBoarding/FirstScreen");

}, 3000);
}, []);
Expand Down

0 comments on commit 48ffeaa

Please sign in to comment.