From 27c40c7b342b9e86dc396c2c6b319372953879d7 Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 21 Apr 2022 20:37:05 +0800 Subject: [PATCH] chore: fix warnings --- .../lib/workspace/application/grid/row/row_detail_bloc.dart | 2 -- .../presentation/plugins/grid/src/widgets/row/grid_row.dart | 1 - frontend/rust-lib/flowy-grid/src/services/grid_editor.rs | 4 +--- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart b/frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart index 1ba10f7614..2390dc40a0 100644 --- a/frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart +++ b/frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart @@ -1,9 +1,7 @@ -import 'dart:collection'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; import 'dart:async'; import 'row_service.dart'; -import 'package:dartz/dartz.dart'; part 'row_detail_bloc.freezed.dart'; diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart index 5c08bab8c8..1201120f37 100755 --- a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart +++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart @@ -242,7 +242,6 @@ class _RowEnterRegionState extends State<_RowEnterRegion> { child: widget.child, ), ); - ; } @override diff --git a/frontend/rust-lib/flowy-grid/src/services/grid_editor.rs b/frontend/rust-lib/flowy-grid/src/services/grid_editor.rs index 2834222778..8f30c0a7cd 100644 --- a/frontend/rust-lib/flowy-grid/src/services/grid_editor.rs +++ b/frontend/rust-lib/flowy-grid/src/services/grid_editor.rs @@ -2,9 +2,7 @@ use crate::dart_notification::{send_dart_notification, GridNotification}; use crate::manager::GridUser; use crate::services::block_meta_manager::GridBlockMetaEditorManager; use crate::services::entities::CellIdentifier; -use crate::services::field::{ - default_type_option_builder_from_type, type_option_builder_from_bytes, FieldBuilder, SelectOption, -}; +use crate::services::field::{default_type_option_builder_from_type, type_option_builder_from_bytes, FieldBuilder}; use crate::services::persistence::block_index::BlockIndexPersistence; use crate::services::row::*; use bytes::Bytes;