mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -763,6 +763,7 @@ class RichTextEditingController extends TextEditingController {
|
|||||||
final emote = e.emote;
|
final emote = e.emote;
|
||||||
if (emote != null) {
|
if (emote != null) {
|
||||||
return WidgetSpan(
|
return WidgetSpan(
|
||||||
|
alignment: PlaceholderAlignment.middle,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 2),
|
padding: const EdgeInsets.symmetric(horizontal: 2),
|
||||||
child: NetworkImgLayer(
|
child: NetworkImgLayer(
|
||||||
|
|||||||
@@ -73,10 +73,12 @@ class LoginAccount implements Account {
|
|||||||
|
|
||||||
LoginAccount(this.cookieJar, this.accessKey, this.refresh,
|
LoginAccount(this.cookieJar, this.accessKey, this.refresh,
|
||||||
[Set<AccountType>? type])
|
[Set<AccountType>? type])
|
||||||
: type = type ?? {};
|
: type = type ?? {} {
|
||||||
|
cookieJar.setBuvid3();
|
||||||
|
}
|
||||||
|
|
||||||
LoginAccount.fromJson(Map json) {
|
LoginAccount.fromJson(Map json) {
|
||||||
cookieJar = BiliCookieJar.fromJson(json['cookies']);
|
cookieJar = BiliCookieJar.fromJson(json['cookies'])..setBuvid3();
|
||||||
accessKey = json['accessKey'];
|
accessKey = json['accessKey'];
|
||||||
refresh = json['refresh'];
|
refresh = json['refresh'];
|
||||||
type = (json['type'] as Iterable?)
|
type = (json['type'] as Iterable?)
|
||||||
|
|||||||
Reference in New Issue
Block a user