merge mine & media

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-28 14:27:18 +08:00
parent 6ca7efe8d1
commit 65b432ed2c
40 changed files with 903 additions and 1038 deletions

View File

@@ -68,6 +68,7 @@ class DynamicsController extends GetxController
vmid: accountService.mid,
pn: allFollowedUpsPage,
orderType: 'attention',
ps: 50,
);
if (res.isSuccess) {
upData.value.upList ??= <UpItem>[];
@@ -108,6 +109,7 @@ class DynamicsController extends GetxController
vmid: accountService.mid,
pn: allFollowedUpsPage,
orderType: 'attention',
ps: 50,
);
final res0 = await f1;
if (!res0.isSuccess) {

View File

@@ -34,9 +34,9 @@ class _DynamicsPageState extends State<DynamicsPage>
tooltip: '发布动态',
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
backgroundColor: WidgetStateProperty.resolveWith((states) {
return theme.colorScheme.secondaryContainer;
}),
backgroundColor: WidgetStatePropertyAll(
theme.colorScheme.secondaryContainer,
),
),
onPressed: () {
if (_dynamicsController.accountService.isLogin.value) {