This commit is contained in:
@@ -215,7 +215,11 @@ const Settings = () => {
|
|||||||
<BaseBackground>
|
<BaseBackground>
|
||||||
<SimpleHeader text="Settings" />
|
<SimpleHeader text="Settings" />
|
||||||
<View className="flex items-center mt-4">
|
<View className="flex items-center mt-4">
|
||||||
<SettingsButton testID="settings-logout-button" onPress={handleLogout} solid={true}>
|
<SettingsButton
|
||||||
|
testID="settings-logout-button"
|
||||||
|
onPress={handleLogout}
|
||||||
|
solid={true}
|
||||||
|
>
|
||||||
<Ionicons name="log-out-outline" size={24} color={theme.primeFg} />{" "}
|
<Ionicons name="log-out-outline" size={24} color={theme.primeFg} />{" "}
|
||||||
Logout
|
Logout
|
||||||
</SettingsButton>
|
</SettingsButton>
|
||||||
|
|||||||
@@ -8,7 +8,12 @@ interface AuthButtonProps {
|
|||||||
testID?: string;
|
testID?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const AuthButton = ({ title, onPress, isLoading = false, testID }: AuthButtonProps) => {
|
const AuthButton = ({
|
||||||
|
title,
|
||||||
|
onPress,
|
||||||
|
isLoading = false,
|
||||||
|
testID,
|
||||||
|
}: AuthButtonProps) => {
|
||||||
const { theme } = useThemeStore();
|
const { theme } = useThemeStore();
|
||||||
return (
|
return (
|
||||||
<Pressable
|
<Pressable
|
||||||
|
|||||||
Reference in New Issue
Block a user