Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
LynxLynxx committed Jan 17, 2025
1 parent 7d6a278 commit 681157c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ class _MultilineTextEntryMarkdownWidgetState
validator: (val) {
return null;

// TODO(LynxxLynx): implement validator when we got answer how to validate
// formatted document against maxLength
// TODO(LynxxLynx): implement validator when we got answer how to
// validate formatted document against maxLength
},
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import 'package:catalyst_voices/widgets/widgets.dart';
import 'package:catalyst_voices_localization/catalyst_voices_localization.dart';
import 'package:catalyst_voices_models/catalyst_voices_models.dart';
Expand Down Expand Up @@ -276,22 +275,24 @@ class _PropertyBuilder extends StatelessWidget {
onChanged: onChanged,
);*/
case YesNoChoiceDefinition():
/*final castProperty = definition.castProperty(property);
/*final castProperty = definition.castProperty(property);
return YesNoChoiceWidget(
property: castProperty,
onChanged: onChanged,
isEditMode: isEditMode,
isRequired: castProperty.schema.isRequired,
);
);*/

case MultiLineTextEntryMarkdownDefinition():
/*final castProperty = definition.castProperty(property);
final castProperty = definition.castProperty(property);
return MultilineTextEntryMarkdownWidget(
property: castProperty,
onChanged: onChanged,
isEditMode: isEditMode,
isRequired: castProperty.schema.isRequired,
);
);*/

// TODO(dtscalac): uncomment tiles when casting works.
return Text('${definition.runtimeType} casting problem');
}
Expand Down

0 comments on commit 681157c

Please sign in to comment.