mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 02:58:39 +00:00
opt to live room
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -203,7 +203,13 @@ class ChatItem extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () => Get.toNamed('/liveRoom?roomid=${content['sourceID']}'),
|
||||
onTap: () {
|
||||
var roomId = content['sourceID'];
|
||||
if (roomId is String) {
|
||||
roomId = int.parse(roomId);
|
||||
}
|
||||
PageUtils.toLiveRoom(roomId);
|
||||
},
|
||||
child: NetworkImgLayer(
|
||||
width: 220,
|
||||
height: 220 * 9 / 16,
|
||||
|
||||
Reference in New Issue
Block a user