mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: fav
This commit is contained in:
@@ -315,7 +315,12 @@ class _CreateFavPageState extends State<CreateFavPage> {
|
||||
children: [
|
||||
TextSpan(
|
||||
text: '简介',
|
||||
style: leadingStyle,
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
TextSpan(
|
||||
text: '*',
|
||||
|
||||
@@ -64,6 +64,7 @@ class _FavPanelState extends State<FavPanel> {
|
||||
TextButton.icon(
|
||||
onPressed: () {
|
||||
Get.toNamed('/createFav')?.then((data) {
|
||||
if (data != null) {
|
||||
(widget.ctr?.favFolderData.value as FavFolderData?)
|
||||
?.list
|
||||
?.insert(
|
||||
@@ -78,6 +79,7 @@ class _FavPanelState extends State<FavPanel> {
|
||||
),
|
||||
);
|
||||
widget.ctr?.favFolderData.refresh();
|
||||
}
|
||||
});
|
||||
},
|
||||
icon: Icon(
|
||||
|
||||
Reference in New Issue
Block a user