Official URL migration preserves sessions, shortcuts prefs, and last clock-in client; auth screens match web with legal links; time clock and invoice editor/send flows are updated for the new domain and UI patterns. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
836 B
TypeScript
35 lines
836 B
TypeScript
import { StyleSheet, Text, View } from "react-native";
|
|
|
|
import { fonts, spacing } from "@/constants/theme";
|
|
import { useAppTheme } from "@/contexts/ThemeContext";
|
|
|
|
export function AuthDivider() {
|
|
const { colors } = useAppTheme();
|
|
|
|
return (
|
|
<View style={styles.row}>
|
|
<View style={[styles.line, { backgroundColor: colors.border }]} />
|
|
<Text style={[styles.label, { color: colors.mutedForeground }]}>or</Text>
|
|
<View style={[styles.line, { backgroundColor: colors.border }]} />
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
row: {
|
|
flexDirection: "row",
|
|
alignItems: "center",
|
|
gap: spacing.sm,
|
|
},
|
|
line: {
|
|
flex: 1,
|
|
height: StyleSheet.hairlineWidth,
|
|
},
|
|
label: {
|
|
fontSize: 12,
|
|
fontFamily: fonts.bodyMedium,
|
|
textTransform: "uppercase",
|
|
letterSpacing: 0.6,
|
|
},
|
|
});
|