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 {
|
class EmoteMeta {
|
||||||
int? size;
|
int? size;
|
||||||
List<String>? suggest;
|
List? suggest;
|
||||||
String? alias;
|
String? alias;
|
||||||
String? gifUrl;
|
String? gifUrl;
|
||||||
|
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ class Emote {
|
|||||||
|
|
||||||
class EmoteMeta {
|
class EmoteMeta {
|
||||||
int? size;
|
int? size;
|
||||||
List<String>? suggest;
|
List? suggest;
|
||||||
String? alias;
|
String? alias;
|
||||||
String? gifUrl;
|
String? gifUrl;
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ class ReplyCursor {
|
|||||||
mode = json['mode'];
|
mode = json['mode'];
|
||||||
modeText = json['mode_text'];
|
modeText = json['mode_text'];
|
||||||
allCount = json['all_count'] ?? 0;
|
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'];
|
name = json['name'];
|
||||||
paginationReply = json['pagination_reply'] != null
|
paginationReply = json['pagination_reply'] != null
|
||||||
? PaginationReply.fromJson(json['pagination_reply'])
|
? PaginationReply.fromJson(json['pagination_reply'])
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import '../../http/reply.dart';
|
|||||||
|
|
||||||
class EmotePanelController extends CommonController
|
class EmotePanelController extends CommonController
|
||||||
with GetTickerProviderStateMixin {
|
with GetTickerProviderStateMixin {
|
||||||
late TabController tabController;
|
TabController? tabController;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void onInit() {
|
void onInit() {
|
||||||
@@ -29,7 +29,7 @@ class EmotePanelController extends CommonController
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void onClose() {
|
void onClose() {
|
||||||
tabController.dispose();
|
tabController?.dispose();
|
||||||
super.onClose();
|
super.onClose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user