mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-24 12:32:40 +08:00
opt: save reply (#1860)
* opt: save reply * opt: reply save switch * remove unneeded sort * clear sub replies [skip ci] --------- Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
4ad422c3ea
commit
f825f87dc1
@@ -17,6 +17,7 @@ import 'package:PiliPlus/utils/extension/get_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/theme_ext.dart';
|
||||
import 'package:PiliPlus/utils/platform_utils.dart';
|
||||
import 'package:PiliPlus/utils/storage.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
import 'package:flutter/material.dart' hide ListTile;
|
||||
import 'package:get/get.dart';
|
||||
@@ -160,14 +161,15 @@ class _MediaPageState extends CommonPageState<MinePage>
|
||||
),
|
||||
msgBadge(_mainController),
|
||||
],
|
||||
IconButton(
|
||||
iconSize: iconSize,
|
||||
padding: padding,
|
||||
style: style,
|
||||
tooltip: '评论记录',
|
||||
onPressed: () => Get.toNamed('/myReply'),
|
||||
icon: const Icon(Icons.message_outlined),
|
||||
),
|
||||
if (GStorage.reply != null)
|
||||
IconButton(
|
||||
iconSize: iconSize,
|
||||
padding: padding,
|
||||
style: style,
|
||||
tooltip: '评论记录',
|
||||
onPressed: () => Get.toNamed('/myReply'),
|
||||
icon: const Icon(Icons.message_outlined),
|
||||
),
|
||||
Obx(
|
||||
() {
|
||||
final anonymity = MineController.anonymity.value;
|
||||
|
||||
Reference in New Issue
Block a user