This commit is contained in:
bggRGjQaUbCoE
2024-10-30 21:57:47 +08:00
parent 1d0ffd86d5
commit aaa9e45299
2 changed files with 22 additions and 15 deletions

View File

@@ -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: '*',

View File

@@ -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(