opt: view whisper user

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-19 14:07:16 +08:00
parent 75cbd20f54
commit 5ed86b9165
2 changed files with 10 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ class _SearchTrendingPageState extends State<SearchTrendingPage> {
: maxWidth;
_offset = width * 528 / 1125 - 56 - Get.mediaQuery.padding.top;
listener();
final removePadding = width > maxWidth;
final removePadding = maxWidth > width;
return Scaffold(
extendBody: true,
extendBodyBehindAppBar: true,

View File

@@ -63,13 +63,15 @@ class _WhisperDetailPageState
),
title: GestureDetector(
onTap: () {
feedBack();
Get.toNamed(
'/member?mid=${_whisperDetailController.mid}',
arguments: {
'face': _whisperDetailController.face,
},
);
if (_whisperDetailController.mid != null) {
feedBack();
Get.toNamed(
'/member?mid=${_whisperDetailController.mid}',
arguments: {
'face': _whisperDetailController.face,
},
);
}
},
child: Row(
children: [