Skip to content

Commit d095749

Browse files
authored
chore: remove some unnecessary todos (#1785)
* chore: remove some unnecessary todos * fix: the vertical padding for editor should be 28
1 parent c916613 commit d095749

File tree

5 files changed

+1
-147
lines changed

5 files changed

+1
-147
lines changed

frontend/app_flowy/lib/plugins/document/editor_styles.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ EditorStyle customEditorTheme(BuildContext context) {
99
? EditorStyle.dark
1010
: EditorStyle.light;
1111
editorStyle = editorStyle.copyWith(
12-
padding: const EdgeInsets.symmetric(horizontal: 100),
12+
padding: const EdgeInsets.symmetric(horizontal: 100, vertical: 28),
1313
textStyle: editorStyle.textStyle?.copyWith(
1414
fontFamily: 'poppins',
1515
fontSize: documentStyle.fontSize,

frontend/app_flowy/lib/workspace/presentation/settings/widgets/settings_file_exporter_widget.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class _FileExporterWidgetState extends State<FileExporterWidget> {
5656
FlowyTextButton(
5757
LocaleKeys.button_OK.tr(),
5858
onPressed: () async {
59-
// TODO: Export Data
6059
await getIt<FilePickerService>()
6160
.getDirectoryPath()
6261
.then((exportPath) {

frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/emoji_picker.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export 'src/config.dart';
22
export 'src/models/emoji_model.dart';
33
export 'src/emoji_picker.dart';
44
export 'src/emoji_picker_builder.dart';
5-
export 'src/emoji_button.dart';

frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/src/emoji_button.dart

Lines changed: 0 additions & 143 deletions
This file was deleted.

frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/math_ equation/math_equation_node_widget.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import 'package:flutter_math_fork/flutter_math.dart';
77
const String kMathEquationType = 'math_equation';
88
const String kMathEquationAttr = 'math_equation';
99

10-
// TODO: l10n
1110
SelectionMenuItem mathEquationMenuItem = SelectionMenuItem(
1211
name: () => 'Math Equation',
1312
icon: (editorState, onSelected) => Icon(

0 commit comments

Comments
 (0)