File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ class _SpoilerV2HeaderState extends State<_SpoilerV2Header> {
100100
101101 @override
102102 Widget build (BuildContext context) {
103- final info = BBCodeSpoilerV2HeaderInfo .fromJson (embedContext.node.value.data as String );
104103 final tr = context.bbcodeL10n;
105104 final primaryColor = Theme .of (context).colorScheme.primary;
106105 final outlineColor = Theme .of (context).colorScheme.outline;
@@ -111,7 +110,7 @@ class _SpoilerV2HeaderState extends State<_SpoilerV2Header> {
111110 embedContext.controller.moveCursorToPosition (embedContext.node.documentOffset + embedContext.node.length);
112111 final title = await showDialog <String >(
113112 context: context,
114- builder: (dialogContext) => _SpoilerV2EditTitleDialog (info .title, tr),
113+ builder: (dialogContext) => _SpoilerV2EditTitleDialog (this .title, tr),
115114 );
116115 if (title == null || ! context.mounted) {
117116 return ;
You can’t perform that action at this time.
0 commit comments