fix: make retry work in ai generated images (#7993)

This commit is contained in:
Richard Shiue 2025-05-27 19:07:34 +08:00 committed by GitHub
parent dc5f463e84
commit 4461c77992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,9 +285,14 @@ class _ImageLoadFailedWidget extends StatelessWidget {
maxLines: 2,
),
const VSpace(12),
OutlinedRoundedButton(
text: LocaleKeys.chat_retry.tr(),
onTap: onRetry,
Listener(
onPointerDown: (event) {
onRetry();
},
child: OutlinedRoundedButton(
text: LocaleKeys.chat_retry.tr(),
onTap: () {},
),
),
],
),