mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: use interactiveviewer gallery
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -67,7 +67,7 @@ class _AtMePageState extends State<AtMePage> {
|
||||
itemCount: _atMeController.msgFeedAtMeList.length,
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (_, int i) {
|
||||
itemBuilder: (context, int i) {
|
||||
return ListTile(
|
||||
onTap: () {
|
||||
String? nativeUri =
|
||||
|
||||
@@ -117,7 +117,7 @@ class LikeMeList extends StatelessWidget {
|
||||
itemCount: msgFeedLikeMeList.length,
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (_, int i) {
|
||||
itemBuilder: (context, int i) {
|
||||
return ListTile(
|
||||
onTap: () {
|
||||
String? nativeUri = msgFeedLikeMeList[i].item?.nativeUri;
|
||||
|
||||
@@ -66,7 +66,7 @@ class _ReplyMePageState extends State<ReplyMePage> {
|
||||
itemCount: _replyMeController.msgFeedReplyMeList.length,
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (_, int i) {
|
||||
itemBuilder: (context, int i) {
|
||||
return ListTile(
|
||||
onTap: () {
|
||||
String? nativeUri = _replyMeController
|
||||
|
||||
@@ -72,7 +72,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
itemCount: _sysMsgController.msgFeedSysMsgList.length,
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (_, int i) {
|
||||
itemBuilder: (context, int i) {
|
||||
String? content =
|
||||
_sysMsgController.msgFeedSysMsgList[i].content;
|
||||
if (content != null) {
|
||||
@@ -88,7 +88,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
onLongPress: () {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (_) => AlertDialog(
|
||||
builder: (context) => AlertDialog(
|
||||
title: const Text('确定删除该通知?'),
|
||||
actions: [
|
||||
TextButton(
|
||||
|
||||
Reference in New Issue
Block a user