Adjust load state
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user