diff --git a/App.tsx b/App.tsx index bedf713c..003ad63d 100644 --- a/App.tsx +++ b/App.tsx @@ -155,7 +155,7 @@ function App() { loading={} persistor={persistor} > - {/* { const currentRouteName = getActiveRouteName(state); @@ -183,8 +183,8 @@ function App() { } /> - */} - + + {/* */} ); diff --git a/src/screens/permissions/BlockerScreen.tsx b/src/screens/permissions/BlockerScreen.tsx index cfec56e6..df9f5f28 100644 --- a/src/screens/permissions/BlockerScreen.tsx +++ b/src/screens/permissions/BlockerScreen.tsx @@ -4,19 +4,33 @@ import { GenericStyles } from '../../../RN-UI-LIB/src/styles'; import BlacklistAppsImage from '../../assets/images/BlacklistAppsImage'; import { COLORS } from '@rn-ui-lib/colors'; +const blacklistedApps = ['App1', 'App2']; const BlockerScreen: React.FC = () => { return ( - - + + - - Some installed apps are banned by Navi + + + Some installed apps are banned by Navi + - - Uninstall these apps for uninterrupted usage + + + Uninstall these apps for uninterrupted usage + + + + + + App1 + + + App2 + ); @@ -26,35 +40,49 @@ const styles = StyleSheet.create({ container: { flexDirection: 'column', flex: 1, - alignItems: 'center', borderWidth: 2, // Border width borderColor: 'red', // Border color }, imageContainer: { + marginLeft: 97, marginTop: 40, marginBottom: 37, }, - textContainer: { - width: 328, - }, - textDark: { - color: '#1C1C1C', + color: COLORS.TEXT.DARK, fontFamily: 'Inter-Regular', - fontSize: 14, fontWeight: '500', - marginBottom: 4, }, textLight: { - color: '#969696', + color: COLORS.TEXT.LIGHT, fontFamily: 'Inter-Regular', - fontSize: 12, fontWeight: '400', marginBottom: 14, }, + + appsContainer: { + paddingHorizontal: 16, + paddingTop: 4, + borderRadius: 4, + backgroundColor: COLORS.BACKGROUND.SILVER, + }, + + appsListItem: { + paddingHorizontal: 8, + paddingVertical: 12, + borderBottomWidth: 1, + borderBottomColor: COLORS.BORDER.PRIMARY, + }, + + appNameText: { + color: COLORS.TEXT.DARK, + fontFamily: 'Inter-Regular', + fontSize: 12, + fontWeight: '500', + }, }); export default BlockerScreen;