UI improvements: dynamic event text, remove camera indicator, fontawesome footer icons
This commit is contained in:
@@ -72,7 +72,7 @@ export default function App() {
|
||||
|
||||
const handleSaveEventName = async () => {
|
||||
if (!settings) return;
|
||||
const newName = tempEventName.trim() || 'Event';
|
||||
const newName = tempEventName.trim() || 'Schnappix-Party';
|
||||
const updated = { ...settings, eventText: newName };
|
||||
await saveSettings(updated);
|
||||
setSettings(updated);
|
||||
@@ -233,7 +233,7 @@ export default function App() {
|
||||
</Text>
|
||||
<TextInput
|
||||
style={styles.modalInput}
|
||||
placeholder="z.B. Jannik's Party"
|
||||
placeholder="Schnappix-Party"
|
||||
placeholderTextColor="#666"
|
||||
value={tempEventName}
|
||||
onChangeText={setTempEventName}
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
@@ -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 && (
|
||||
|
||||
@@ -43,11 +43,11 @@ const DEFAULT_SETTINGS: AppSettings = {
|
||||
availableFrameIds: FRAMES.map(f => f.id),
|
||||
dateOverlay: 'off',
|
||||
dateOverlayTransform: { x: 0, y: 0, rotation: 0, scale: 1 },
|
||||
eventText: 'Schnappix-Party',
|
||||
eventText: '',
|
||||
burstCount: 1,
|
||||
burstIntervalSec: 5,
|
||||
welcomeText: 'Zeit für ein Erinnerungsfoto!',
|
||||
footerText: '👆 Display tippen! • 😊 Lächeln! • 📸 Foto schnappen!',
|
||||
footerText: 'Display tippen! • Lächeln! • Foto schnappen!',
|
||||
useFrontCamera: false,
|
||||
enableLogs: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user