mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
Injimob-3651: revert all the branding changes (#2151)
* Revert "[INJIMOB-3622] Fix alignment in history screen (#2140)" This reverts commita0b08914e5. Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * Revert "Injimob [3622] [3627] - BANNER ISSUE AND BRANDING CHANGES ISSUES (#2130)" This reverts commit522104811c. Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * Revert "[INJIMOB-3633][INJIMOB-3636] fix icon bg color across app (#2134)" This reverts commitd8d718693d. Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * Revert "[INJIMOB-3633] fix search bar clear icon not apperaing (#2133)" This reverts commit6a202b11af. Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * [INJIMOB-3651]: revert all the branding changes Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * [INJIMOB-3651]: update all the snapshot Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> --------- Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import {
|
||||
Montserrat_400Regular,
|
||||
Montserrat_500Medium,
|
||||
Montserrat_600SemiBold,
|
||||
Montserrat_700Bold,
|
||||
Inter_400Regular,
|
||||
Inter_500Medium,
|
||||
Inter_600SemiBold,
|
||||
Inter_700Bold,
|
||||
useFonts,
|
||||
} from '@expo-google-fonts/montserrat';
|
||||
} from '@expo-google-fonts/inter';
|
||||
|
||||
export function useFont() {
|
||||
const [hasFontsLoaded] = useFonts({
|
||||
Montserrat_400Regular,
|
||||
Montserrat_500Medium,
|
||||
Montserrat_600SemiBold,
|
||||
Montserrat_700Bold,
|
||||
Inter_400Regular,
|
||||
Inter_500Medium,
|
||||
Inter_600SemiBold,
|
||||
Inter_700Bold,
|
||||
});
|
||||
|
||||
return hasFontsLoaded;
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
import { useNavigation } from '@react-navigation/native';
|
||||
import { useCallback } from 'react';
|
||||
import { Theme } from '../../components/ui/styleUtils';
|
||||
|
||||
export function useTabBarVisibility() {
|
||||
const navigation = useNavigation();
|
||||
|
||||
const hideTabBar = useCallback(() => {
|
||||
navigation.setOptions({
|
||||
tabBarStyle: { display: 'none' }
|
||||
});
|
||||
}, [navigation]);
|
||||
|
||||
const showTabBar = useCallback(() => {
|
||||
navigation.setOptions({
|
||||
tabBarShowLabel: true,
|
||||
tabBarActiveTintColor: Theme.Colors.IconBg,
|
||||
tabBarLabelStyle: {
|
||||
fontSize: 12,
|
||||
fontFamily: 'Montserrat_600SemiBold',
|
||||
},
|
||||
tabBarStyle: {
|
||||
height: 75,
|
||||
paddingHorizontal: 10,
|
||||
},
|
||||
tabBarItemStyle: {
|
||||
height: 83,
|
||||
padding: 11,
|
||||
},
|
||||
});
|
||||
|
||||
}, [navigation]);
|
||||
|
||||
return { hideTabBar, showTabBar };
|
||||
}
|
||||
Reference in New Issue
Block a user