feat: add ai generated label

This commit is contained in:
2024-09-25 19:48:03 +01:00
parent 88c054825d
commit 423db6dc1e
2 changed files with 2 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ export default function WallpaperPage() {
{selectedWallpaper.creator_name ? ( {selectedWallpaper.creator_name ? (
<Text className="text-white text-center opacity-50 text-xs"> <Text className="text-white text-center opacity-50 text-xs">
{selectedWallpaper.creator_name} {selectedWallpaper.creator_name}
{selectedWallpaper.is_ai_generated ? "· AI Generated" : ""}
</Text> </Text>
) : null} ) : null}
{selectedWallpaper.source_url ? ( {selectedWallpaper.source_url ? (

View File

@@ -12,6 +12,7 @@ interface ImageAsset {
thumbnail_url: string; thumbnail_url: string;
source_url?: string; source_url?: string;
creator_name?: string; creator_name?: string;
is_ai_generated?: boolean;
} }
export type { ImageAsset }; export type { ImageAsset };