Decrease the size of the chat list component.
(&mut self)
| 159 | } |
| 160 | /// Decrease the size of the chat list component. |
| 161 | pub fn decrease_size_prompt(&mut self) { |
| 162 | if self.size_prompt == MIN_PROMPT_SIZE { |
| 163 | return; |
| 164 | } |
| 165 | self.size_prompt -= 1; |
| 166 | } |
| 167 | } |
| 168 | /// Implement the `HandleFocus` trait for the `CoreWindow` struct. |
| 169 | /// This trait allows the `CoreWindow` to be focused or unfocused. |