@@ -40,7 +40,7 @@ open class TwoStepMentionCommand: CommandHandler {
4040        self . displayInfo =  displayInfo
4141    } 
4242
43-     public  func  canHandleCommand( in text:  String ,  caretLocation:  Int )  ->  ComposerCommand ?   { 
43+     open  func  canHandleCommand( in text:  String ,  caretLocation:  Int )  ->  ComposerCommand ?   { 
4444        if  text ==  id { 
4545            return  ComposerCommand ( 
4646                id:  id, 
@@ -59,7 +59,7 @@ open class TwoStepMentionCommand: CommandHandler {
5959        } 
6060    } 
6161
62-     public  func  handleCommand( 
62+     open  func  handleCommand( 
6363        for text:  Binding < String > , 
6464        selectedRangeLocation:  Binding < Int > , 
6565        command:  Binding < ComposerCommand ? > , 
@@ -84,19 +84,19 @@ open class TwoStepMentionCommand: CommandHandler {
8484        selectedRangeLocation. wrappedValue =  newCaretLocation
8585    } 
8686
87-     public  func  canBeExecuted( composerCommand:  ComposerCommand )  ->  Bool  { 
87+     open  func  canBeExecuted( composerCommand:  ComposerCommand )  ->  Bool  { 
8888        selectedUser !=  nil 
8989    } 
9090
91-     public  func  commandHandler( for command:  ComposerCommand )  ->  CommandHandler ?   { 
91+     open  func  commandHandler( for command:  ComposerCommand )  ->  CommandHandler ?   { 
9292        if  let  selectedUser =  selectedUser, 
9393           command. typingSuggestion. text !=  " \( mentionSymbol) \( selectedUser. mentionText) "  { 
9494            self . selectedUser =  nil 
9595        } 
9696        return  command. id ==  id ?  self  :  nil 
9797    } 
9898
99-     public  func  showSuggestions( 
99+     open  func  showSuggestions( 
100100        for command:  ComposerCommand 
101101    )  ->  Future < SuggestionInfo ,  Error >  { 
102102        if  selectedUser !=  nil  { 
@@ -126,7 +126,7 @@ open class TwoStepMentionCommand: CommandHandler {
126126        return  mentionsCommandHandler. showSuggestions ( for:  updated) 
127127    } 
128128
129-     public  var  replacesMessageSent :  Bool  { 
129+     open  var  replacesMessageSent :  Bool  { 
130130        true 
131131    } 
132132
0 commit comments