mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 00:06:23 +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) {
|
if (!collection) {
|
||||||
return (
|
return (
|
||||||
<Modal supportedOrientations={MODAL_ORIENTATIONS} visible transparent animationType="fade" onRequestClose={onClose}>
|
<Modal supportedOrientations={MODAL_ORIENTATIONS} visible transparent animationType="fade" onRequestClose={onClose}>
|
||||||
<Pressable
|
<Pressable style={styles.backdrop} onPress={onClose} accessible={false}>
|
||||||
style={styles.backdrop}
|
|
||||||
onPress={onClose}
|
|
||||||
accessibilityLabel={t('sharing.loading_principals', 'Loading users…')}
|
|
||||||
>
|
|
||||||
<View style={[styles.spinner, { backgroundColor: c.background }]}>
|
<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>
|
</View>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
Reference in New Issue
Block a user