mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -237,7 +237,7 @@ class Emote {
|
||||
|
||||
class EmoteMeta {
|
||||
int? size;
|
||||
List<String>? suggest;
|
||||
List? suggest;
|
||||
String? alias;
|
||||
String? gifUrl;
|
||||
|
||||
|
||||
@@ -237,7 +237,7 @@ class Emote {
|
||||
|
||||
class EmoteMeta {
|
||||
int? size;
|
||||
List<String>? suggest;
|
||||
List? suggest;
|
||||
String? alias;
|
||||
String? gifUrl;
|
||||
|
||||
|
||||
@@ -54,7 +54,8 @@ class ReplyCursor {
|
||||
mode = json['mode'];
|
||||
modeText = json['mode_text'];
|
||||
allCount = json['all_count'] ?? 0;
|
||||
supportMode = json['support_mode'].cast<int>();
|
||||
supportMode =
|
||||
(json['support_mode'] as List?)?.map((e) => e as int).toList();
|
||||
name = json['name'];
|
||||
paginationReply = json['pagination_reply'] != null
|
||||
? PaginationReply.fromJson(json['pagination_reply'])
|
||||
|
||||
@@ -7,7 +7,7 @@ import '../../http/reply.dart';
|
||||
|
||||
class EmotePanelController extends CommonController
|
||||
with GetTickerProviderStateMixin {
|
||||
late TabController tabController;
|
||||
TabController? tabController;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
@@ -29,7 +29,7 @@ class EmotePanelController extends CommonController
|
||||
|
||||
@override
|
||||
void onClose() {
|
||||
tabController.dispose();
|
||||
tabController?.dispose();
|
||||
super.onClose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user