mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -11,7 +11,7 @@ import 'package:get/get.dart';
|
||||
class BlackListController
|
||||
extends CommonListController<BlackListDataModel, BlackListItem> {
|
||||
int pageSize = 50;
|
||||
RxInt total = 0.obs;
|
||||
RxInt total = (-1).obs;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
|
||||
@@ -34,7 +34,8 @@ class _BlackListPageState extends State<BlackListPage> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Obx(
|
||||
() => Text('黑名单管理: ${_blackListController.total.value}'),
|
||||
() => Text(
|
||||
'黑名单管理${_blackListController.total.value == -1 ? '' : ': ${_blackListController.total.value}'}'),
|
||||
),
|
||||
),
|
||||
body: refreshIndicator(
|
||||
|
||||
Reference in New Issue
Block a user