diff --git a/src/Navigations/Tabs.js b/src/Navigations/Tabs.js index 21f57f6..ebce382 100644 --- a/src/Navigations/Tabs.js +++ b/src/Navigations/Tabs.js @@ -37,10 +37,10 @@ const Tabs = () => { headerTitleAlign: 'center', tabBarLabel: ({ focused }) => focused ? ( - 필 리스트 + 약 리스트 ) : ( - 필 리스트 + 약 리스트 ), tabBarIcon: ({ focused }) => diff --git a/src/components/GraphicStatus.jsx b/src/components/GraphicStatus.jsx index c1c70fb..14241cf 100644 --- a/src/components/GraphicStatus.jsx +++ b/src/components/GraphicStatus.jsx @@ -1,4 +1,4 @@ -import { View, Text, TouchableOpacity } from 'react-native'; +import { View, Text, TouchableOpacity, StyleSheet } from 'react-native'; import styled from '@emotion/native'; import { COLORS } from '../shared/color'; import { useUID } from '../Hooks/useAuth'; @@ -46,7 +46,10 @@ const GraphicStatus = () => { let color = ''; switch (true) { - case opacity >= 0 && opacity <= 0.2: + case opacity == 0: + color = 'white'; + break; + case opacity > 0 && opacity <= 0.2: color = COLORS.POINT_COLOR_20; break; case opacity > 0.2 && opacity <= 0.4: @@ -106,7 +109,7 @@ const GraphicStatus = () => { {supportArr[pop]} - + 남은 약: {leftPillNum} /{totalPillNum} @@ -177,3 +180,22 @@ const LeftpillText3 = styled.Text` bottom: 0; right: -15%; `; + +const styles = StyleSheet.create({ + circleShadow: { + ...Platform.select({ + ios: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 3, + }, + shadowOpacity: 0.29, + shadowRadius: 4.65, + }, + android: { + elevation: 7, + }, + }), + }, +});