mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 18:15:09 +00:00 
			
		
		
		
	feat: double tab edit side panel (#5000)
* feat: double tab edit side panel * fix: double tap edit only for selected view, check added * fix: format
This commit is contained in:
		
							parent
							
								
									f93429de8b
								
							
						
					
					
						commit
						b51ff318a1
					
				| @ -409,6 +409,19 @@ class _SingleInnerViewItemState extends State<SingleInnerViewItem> { | ||||
|       behavior: HitTestBehavior.translucent, | ||||
|       onTap: () => widget.onSelected(widget.view), | ||||
|       onTertiaryTapDown: (_) => widget.onTertiarySelected?.call(widget.view), | ||||
|       onDoubleTap: isSelected | ||||
|           ? () { | ||||
|               NavigatorTextFieldDialog( | ||||
|                 title: LocaleKeys.disclosureAction_rename.tr(), | ||||
|                 autoSelectAllText: true, | ||||
|                 value: widget.view.name, | ||||
|                 maxLength: 256, | ||||
|                 onConfirm: (newValue, _) { | ||||
|                   context.read<ViewBloc>().add(ViewEvent.rename(newValue)); | ||||
|                 }, | ||||
|               ).show(context); | ||||
|             } | ||||
|           : null, | ||||
|       child: SizedBox( | ||||
|         height: widget.height, | ||||
|         child: Padding( | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Vivek Verma
						Vivek Verma