Fix iOS crash, storage, and printing issues; setup apk build

This commit is contained in:
2026-05-30 23:09:36 +02:00
parent eee684a3c9
commit 54666b077a
19 changed files with 1821 additions and 149 deletions
+26
View File
@@ -0,0 +1,26 @@
import React from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
import { THEME } from '../styles/theme';
interface IconProps {
icon: IconDefinition;
size?: number;
color?: string;
style?: any;
}
/**
* Schnappix Icon wrapper around FontAwesome.
* Defaults to the neon accent cyan color.
*/
export default function Icon({ icon, size = 24, color, style }: IconProps) {
return (
<FontAwesomeIcon
icon={icon}
size={size}
color={color || THEME.colors.accent}
style={style}
/>
);
}