This commit is contained in:
@@ -215,7 +215,11 @@ const Settings = () => {
|
||||
<BaseBackground>
|
||||
<SimpleHeader text="Settings" />
|
||||
<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} />{" "}
|
||||
Logout
|
||||
</SettingsButton>
|
||||
|
||||
@@ -8,7 +8,12 @@ interface AuthButtonProps {
|
||||
testID?: string;
|
||||
}
|
||||
|
||||
const AuthButton = ({ title, onPress, isLoading = false, testID }: AuthButtonProps) => {
|
||||
const AuthButton = ({
|
||||
title,
|
||||
onPress,
|
||||
isLoading = false,
|
||||
testID,
|
||||
}: AuthButtonProps) => {
|
||||
const { theme } = useThemeStore();
|
||||
return (
|
||||
<Pressable
|
||||
|
||||
Reference in New Issue
Block a user