mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 11:44:18 +00:00 
			
		
		
		
	Can update a conversation
This commit is contained in:
		@@ -18,13 +18,15 @@ class PickUserWidget extends StatefulWidget {
 | 
			
		||||
  final String label;
 | 
			
		||||
  final bool resetOnChoose;
 | 
			
		||||
  final bool keepFocusOnChoose;
 | 
			
		||||
  final bool enabled;
 | 
			
		||||
 | 
			
		||||
  const PickUserWidget(
 | 
			
		||||
      {Key key,
 | 
			
		||||
      @required this.onSelectUser,
 | 
			
		||||
      @required this.label,
 | 
			
		||||
      this.resetOnChoose = false,
 | 
			
		||||
      this.keepFocusOnChoose = false})
 | 
			
		||||
      this.keepFocusOnChoose = false,
 | 
			
		||||
      this.enabled = true})
 | 
			
		||||
      : assert(onSelectUser != null),
 | 
			
		||||
        assert(label != null),
 | 
			
		||||
        assert(resetOnChoose != null),
 | 
			
		||||
@@ -66,6 +68,7 @@ class _PickUserWidgetState extends State<PickUserWidget> {
 | 
			
		||||
      focusNode: _focusNode,
 | 
			
		||||
      onChanged: (s) => _updateSuggestions(),
 | 
			
		||||
      controller: _controller,
 | 
			
		||||
      enabled: widget.enabled,
 | 
			
		||||
      decoration: InputDecoration(
 | 
			
		||||
        labelText: widget.label,
 | 
			
		||||
        alignLabelWithHint: true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user