Skip to content

Commit 411459d

Browse files
updated
1 parent 5c6a25d commit 411459d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ class _HomePageState extends State<HomePage> {
183183
);
184184
} else if (snapshot.hasError) {
185185
// If an error occurred while getting the image data, display an error message.
186-
return Center(
187-
child: Text('Error: ${snapshot.error}'));
186+
return const Center(
187+
child: Text('Something went wrong. Please Re-generate.'));
188188
} else if (snapshot.hasData) {
189189
// If the image data is available, display the image using Image.memory().
190190
return Image.memory(snapshot.data!);

0 commit comments

Comments
 (0)