Adjust load state

This commit is contained in:
Eric Bailey
2024-03-18 14:19:24 -05:00
parent fd3b0543b1
commit 802459fd04
+19 -1
View File
@@ -43,7 +43,25 @@ export function BirthDateSettingsDialog({
</View>
{isLoading ? (
<Loader size="xl" />
<View>
<View style={[a.w_full, a.align_center, a.pb_lg]}>
<Loader size="xl" />
</View>
<View style={isWeb && [a.flex_row, a.justify_end]}>
<Button
disabled
label={_(msg`Data is loading`)}
size="medium"
onPress={() => {}}
variant="solid"
color="primary">
<ButtonText>
<Trans>Save</Trans>
</ButtonText>
</Button>
</View>
</View>
) : error || !preferences ? (
<ErrorMessage
message={