mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -276,9 +276,10 @@ class _WhisperDetailPageState
|
||||
),
|
||||
Obx(
|
||||
() {
|
||||
final enablePublish = this.enablePublish.value;
|
||||
return IconButton(
|
||||
onPressed: () async {
|
||||
if (enablePublish.value) {
|
||||
if (enablePublish) {
|
||||
_whisperDetailController.sendMsg(
|
||||
message: editController.rawText,
|
||||
onClearText: editController.clear,
|
||||
@@ -325,10 +326,10 @@ class _WhisperDetailPageState
|
||||
}
|
||||
}
|
||||
},
|
||||
icon: Icon(enablePublish.value
|
||||
icon: Icon(enablePublish
|
||||
? Icons.send
|
||||
: Icons.add_photo_alternate_outlined),
|
||||
tooltip: enablePublish.value ? '发送' : '图片',
|
||||
tooltip: enablePublish ? '发送' : '图片',
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
@@ -323,7 +323,7 @@ class ChatItem extends StatelessWidget {
|
||||
if (cid != null) {
|
||||
PageUtils.toVideoPage(
|
||||
'bvid=$bvid&cid=$cid',
|
||||
arguments: <String, String?>{
|
||||
arguments: {
|
||||
'pic': i['cover_url'],
|
||||
'heroTag': Utils.makeHeroTag(bvid),
|
||||
},
|
||||
@@ -413,7 +413,7 @@ class ChatItem extends StatelessWidget {
|
||||
PageUtils.toVideoPage(
|
||||
'bvid=$bvid&cid=$cid',
|
||||
arguments: {
|
||||
'pic': content['thumb'],
|
||||
'pic': content['cover'],
|
||||
'heroTag': Utils.makeHeroTag(bvid),
|
||||
},
|
||||
);
|
||||
@@ -496,7 +496,7 @@ class ChatItem extends StatelessWidget {
|
||||
if (cid != null) {
|
||||
PageUtils.toVideoPage(
|
||||
'bvid=$bvid&cid=$cid',
|
||||
arguments: <String, String?>{
|
||||
arguments: {
|
||||
'pic': content['thumb'],
|
||||
'heroTag': Utils.makeHeroTag(bvid),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user