mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	chore: fix edit bugs
This commit is contained in:
		
							parent
							
								
									a9f5f8d508
								
							
						
					
					
						commit
						349f599a43
					
				@ -78,7 +78,7 @@ class _BoardTextCellState extends State<BoardTextCell> {
 | 
			
		||||
        child: BlocBuilder<BoardTextCellBloc, BoardTextCellState>(
 | 
			
		||||
          builder: (context, state) {
 | 
			
		||||
            Widget child;
 | 
			
		||||
            if (state.content.isEmpty) {
 | 
			
		||||
            if (state.content.isEmpty && state.enableEdit == false) {
 | 
			
		||||
              child = const SizedBox();
 | 
			
		||||
            } else {
 | 
			
		||||
              if (state.enableEdit) {
 | 
			
		||||
 | 
			
		||||
@ -98,13 +98,17 @@ class _BoardCardState extends State<BoardCard> {
 | 
			
		||||
          widget.isEditing,
 | 
			
		||||
          cellNotifier,
 | 
			
		||||
        );
 | 
			
		||||
        rowNotifier.insertCell(cellId, cellNotifier);
 | 
			
		||||
 | 
			
		||||
        if (index == 0) {
 | 
			
		||||
          rowNotifier.insertCell(cellId, cellNotifier);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        child = Padding(
 | 
			
		||||
          key: cellId.key(),
 | 
			
		||||
          padding: const EdgeInsets.only(left: 4, right: 4),
 | 
			
		||||
          child: child,
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        children.add(child);
 | 
			
		||||
      },
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user