mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
feat: 漫画列表页本地收藏自动选择默认收藏夹 (#84)
Signed-off-by: Naomi <33375791+Henvy-Mango@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import 'package:venera/foundation/appdata.dart';
|
||||
|
||||
part of 'favorites_page.dart';
|
||||
|
||||
/// Open a dialog to create a new favorite folder.
|
||||
@@ -83,7 +85,7 @@ void addFavorite(Comic comic) {
|
||||
showDialog(
|
||||
context: App.rootContext,
|
||||
builder: (context) {
|
||||
String? selectedFolder;
|
||||
String? selectedFolder = appdata.settings['quickFavorite'];
|
||||
|
||||
return StatefulBuilder(builder: (context, setState) {
|
||||
return ContentDialog(
|
||||
|
Reference in New Issue
Block a user