Skip to content

Commit

Permalink
style: fix style of loading in create button
Browse files Browse the repository at this point in the history
  • Loading branch information
mayerprog committed Dec 25, 2023
1 parent dc664a4 commit 685e7ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/screens/NewTaskScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ const NewTaskScreen = ({ setModalVisible }) => {
underlayColor="#5884CD"
/>
{loading ? (
<ActivityIndicator size="large" color="#0000ff" style={{}} />
<ActivityIndicator
size="large"
color="#fff"
style={{ alignSelf: "center" }}
/>
) : (
<CustomButton
label="Create"
Expand Down

0 comments on commit 685e7ee

Please sign in to comment.