refactor: add setting documentation and support save key/value in setting

This commit is contained in:
appflowy 2022-09-28 11:44:44 +08:00
parent 82182d7872
commit 908d005737
12 changed files with 127 additions and 72 deletions

View file

@ -134,7 +134,7 @@ class _DocumentPageState extends State<DocumentPage> {
Widget _renderToolbar(quill.QuillController controller) {
return ChangeNotifierProvider.value(
value: Provider.of<AppearanceSettingModel>(context, listen: true),
value: Provider.of<AppearanceSetting>(context, listen: true),
child: EditorToolbar.basic(
controller: controller,
),