Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
36 lines
770 B
TypeScript
36 lines
770 B
TypeScript
import React from 'react';
|
|
import { View, StyleSheet } from 'react-native';
|
|
import Icon from 'react-native-vector-icons/MaterialIcons';
|
|
import { Colors } from '../../constants/Colors';
|
|
|
|
interface VerificationBadgeProps {
|
|
isVerified: boolean;
|
|
isGoldenVerified?: boolean;
|
|
size?: number;
|
|
}
|
|
|
|
export default function VerificationBadge({
|
|
isVerified,
|
|
isGoldenVerified = false,
|
|
size = 16,
|
|
}: VerificationBadgeProps) {
|
|
if (!isVerified) return null;
|
|
|
|
return (
|
|
<View style={styles.container}>
|
|
<Icon
|
|
name={isGoldenVerified ? 'workspace-premium' : 'verified'}
|
|
size={size}
|
|
color={isGoldenVerified ? '#FFD700' : Colors.accent}
|
|
/>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
marginLeft: 4,
|
|
},
|
|
});
|
|
|