mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 16:05:39 +00:00
fix: let screen readers reach the folder share sheet's loading state
This commit is contained in:
@@ -65,13 +65,13 @@ export function MailboxShareSheet({ mailbox, name, onClose }: MailboxShareSheetP
|
||||
if (!collection) {
|
||||
return (
|
||||
<Modal supportedOrientations={MODAL_ORIENTATIONS} visible transparent animationType="fade" onRequestClose={onClose}>
|
||||
<Pressable
|
||||
style={styles.backdrop}
|
||||
onPress={onClose}
|
||||
accessibilityLabel={t('sharing.loading_principals', 'Loading users…')}
|
||||
>
|
||||
<Pressable style={styles.backdrop} onPress={onClose} accessible={false}>
|
||||
<View style={[styles.spinner, { backgroundColor: c.background }]}>
|
||||
<ActivityIndicator size="small" color={c.textMuted} />
|
||||
<ActivityIndicator
|
||||
size="small"
|
||||
color={c.textMuted}
|
||||
accessibilityLabel={t('sharing.loading_principals', 'Loading users…')}
|
||||
/>
|
||||
</View>
|
||||
</Pressable>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user