-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Handle send failures * Add chat disabled state
- Loading branch information
1 parent
8b3bfb3
commit 49314e2
Showing
6 changed files
with
109 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react' | ||
import {View} from 'react-native' | ||
import {Trans} from '@lingui/macro' | ||
|
||
import {atoms as a, useTheme} from '#/alf' | ||
import {Text} from '#/components/Typography' | ||
|
||
export function ChatDisabled() { | ||
const t = useTheme() | ||
return ( | ||
<View style={[a.p_md]}> | ||
<View style={[a.p_xl, a.rounded_md, t.atoms.bg_contrast_25]}> | ||
<Text | ||
style={[a.text_md, a.font_bold, a.pb_sm, t.atoms.text_contrast_high]}> | ||
<Trans>Your chats have been disabled</Trans> | ||
</Text> | ||
<Text style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}> | ||
<Trans> | ||
Our moderators have reviewed reports and decided to disable your | ||
access to chats on Bluesky. | ||
</Trans> | ||
</Text> | ||
</View> | ||
</View> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters