Skip to content

Commit

Permalink
fix: use theme error colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Jan 3, 2025
1 parent a697db2 commit 21dc54d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/sheets/ProfileSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ export const ProfileSheet = observer(() => {
</View>
{user.flags ? (
user.flags & 1 ? (
<Text style={{color: '#ff3333'}}>User is suspended</Text>
<Text colour={currentTheme.error}>User is suspended</Text>
) : user.flags & 2 ? (
<Text style={{color: '#ff3333'}}>
<Text colour={currentTheme.error}>
User deleted their account
</Text>
) : user.flags & 4 ? (
<Text style={{color: '#ff3333'}}>User is banned</Text>
<Text colour={currentTheme.error}>User is banned</Text>
) : null
) : null}
{user.relationship !== 'User' ? (
Expand Down

0 comments on commit 21dc54d

Please sign in to comment.