mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: remove usage of customStyle prop
This commit is contained in:
@@ -59,22 +59,6 @@ const Auth = ({ navigation, route }) => {
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* {initialAuthMode.current === AuthMode.welcomeSignup ? null : (
|
||||
<IconButton
|
||||
name="arrow-left"
|
||||
onPress={() => {
|
||||
hideAuth();
|
||||
}}
|
||||
color={colors.primary.paragraph}
|
||||
customStyle={{
|
||||
position: 'absolute',
|
||||
zIndex: 999,
|
||||
left: 12,
|
||||
top: Platform.OS === 'ios' ? 12 + insets.top : insets.top
|
||||
}}
|
||||
/>
|
||||
)} */}
|
||||
|
||||
<Toast context="local" />
|
||||
</View>
|
||||
);
|
||||
|
||||
@@ -186,7 +186,7 @@ export const AppLockPassword = () => {
|
||||
setSecureTextEntry(true);
|
||||
});
|
||||
}}
|
||||
customStyle={{
|
||||
style={{
|
||||
width: 25,
|
||||
height: 25,
|
||||
marginRight: 5
|
||||
|
||||
@@ -98,7 +98,7 @@ export default function AttachImage({
|
||||
size={SIZE.lg}
|
||||
name={compress ? "checkbox-marked" : "checkbox-blank-outline"}
|
||||
color={compress ? colors.primary.accent : colors.primary.icon}
|
||||
customStyle={{
|
||||
style={{
|
||||
width: 25,
|
||||
height: 25
|
||||
}}
|
||||
|
||||
@@ -97,7 +97,7 @@ export const Properties = ({ close = () => {}, item, buttons = [] }) => {
|
||||
type="accent"
|
||||
accentColor={item.colorCode}
|
||||
accentText={colors.static.white}
|
||||
customStyle={{
|
||||
style={{
|
||||
width: 30,
|
||||
height: 30,
|
||||
borderRadius: 100,
|
||||
|
||||
@@ -43,7 +43,7 @@ export const IconButton = ({
|
||||
onPress,
|
||||
name,
|
||||
color,
|
||||
style: customStyle,
|
||||
style,
|
||||
size = SIZE.xxl,
|
||||
iconStyle = {},
|
||||
left = 10,
|
||||
@@ -83,7 +83,7 @@ export const IconButton = ({
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
borderRadius: 100,
|
||||
...customStyle
|
||||
...style
|
||||
}}
|
||||
>
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user