UI improvements: dynamic event text, remove camera indicator, fontawesome footer icons
This commit is contained in:
@@ -358,7 +358,7 @@ export default function AdminScreen({ currentSettings, onSave, onClose }: AdminS
|
||||
<Text style={styles.label}>Subtext (Footer)</Text>
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
placeholder="👆 Display tippen! • 😊 Lächeln! • 📸 Foto schnappen!"
|
||||
placeholder="Display tippen! • Lächeln! • Foto schnappen!"
|
||||
placeholderTextColor={THEME.colors.textMuted}
|
||||
value={footerText}
|
||||
onChangeText={setFooterText}
|
||||
|
||||
@@ -32,6 +32,8 @@ import {
|
||||
faCameraRetro,
|
||||
faCamera,
|
||||
faXmark,
|
||||
faHandPointer,
|
||||
faFaceSmile,
|
||||
} from '@fortawesome/free-solid-svg-icons';
|
||||
import { THEME } from '../styles/theme';
|
||||
import { UsbCameraView, UsbCameraRef } from '../../modules/usb-camera';
|
||||
@@ -534,7 +536,15 @@ export default function CameraScreen({
|
||||
adjustsFontSizeToFit
|
||||
numberOfLines={1}
|
||||
>
|
||||
{footerText}
|
||||
{footerText === 'Display tippen! • Lächeln! • Foto schnappen!' ? (
|
||||
<Text>
|
||||
<FontAwesomeIcon icon={faHandPointer} color={THEME.colors.text} size={32}/> Display tippen! •
|
||||
<FontAwesomeIcon icon={faFaceSmile} color={THEME.colors.text} size={32}/> Lächeln! •
|
||||
<FontAwesomeIcon icon={faCamera} color={THEME.colors.text} size={32}/> Foto schnappen!
|
||||
</Text>
|
||||
) : (
|
||||
footerText
|
||||
)}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
@@ -607,12 +617,7 @@ export default function CameraScreen({
|
||||
</View>
|
||||
)}
|
||||
|
||||
{/* Source indicator */}
|
||||
<View style={styles.hudContainer}>
|
||||
<Text style={styles.cameraSourceIndicator}>
|
||||
Kamera: {isUsbConnected ? 'Externe USB-Kamera' : 'Tablet-Frontkamera (Fallback)'}
|
||||
</Text>
|
||||
</View>
|
||||
{/* Source indicator removed per request */}
|
||||
|
||||
{/* Burst progress indicator */}
|
||||
{(burstCount || 1) > 1 && (
|
||||
|
||||
Reference in New Issue
Block a user