mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-05 05:28:37 +01:00
feat: title selectable
This commit is contained in:
@@ -9,7 +9,9 @@ interface Props extends ViewProps {
|
|||||||
export const MoviesTitleHeader: React.FC<Props> = ({ item, ...props }) => {
|
export const MoviesTitleHeader: React.FC<Props> = ({ item, ...props }) => {
|
||||||
return (
|
return (
|
||||||
<View {...props}>
|
<View {...props}>
|
||||||
<Text className=" font-bold text-2xl mb-1">{item?.Name}</Text>
|
<Text className=" font-bold text-2xl mb-1" selectable>
|
||||||
|
{item?.Name}
|
||||||
|
</Text>
|
||||||
<Text className=" opacity-50">{item?.ProductionYear}</Text>
|
<Text className=" opacity-50">{item?.ProductionYear}</Text>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -12,7 +12,9 @@ export const EpisodeTitleHeader: React.FC<Props> = ({ item, ...props }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View {...props}>
|
<View {...props}>
|
||||||
<Text className="font-bold text-2xl">{item?.Name}</Text>
|
<Text className="font-bold text-2xl" selectable>
|
||||||
|
{item?.Name}
|
||||||
|
</Text>
|
||||||
<View className="flex flex-row items-center mb-1">
|
<View className="flex flex-row items-center mb-1">
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user