Skip to content

Commit

Permalink
fix: not centered buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanRos committed Dec 21, 2023
1 parent 7c651db commit 2786567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/scenes/Gains/AbstinenceSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ const AbstinenceSelection = ({ navigation }) => {
</Text>
<View className="flex flex-row justify-center p-2 mb-6 mt-2">
<TouchableOpacity
className="justify-center items-center rounded-3xl h-12 w-24 bg-[#DE285E] mr-6"
className="justify-center items-center rounded-3xl h-12 w-24 bg-[#DE285E] "
onPress={() => {
onClose();
storage.set('@isAbstinent', true);
}}>
<Text className="text-xl color-white font-extrabold">Oui</Text>
</TouchableOpacity>
<TouchableOpacity
className="justify-center items-center rounded-3xl h-12 w-24 bg-[#4030A5] mr-6"
className="justify-center items-center rounded-3xl h-12 w-24 bg-[#4030A5] ml-7"
onPress={() => {
onClose();
storage.set('@isAbstinent', false);
Expand Down

0 comments on commit 2786567

Please sign in to comment.