Make List widget naming more consistent

This commit is contained in:
Joscha 2022-07-23 19:50:49 +02:00
parent 5f28ff0ffd
commit 709ab07442
3 changed files with 3 additions and 3 deletions

View file

@ -152,7 +152,7 @@ impl<Id> ListState<Id> {
Self(Arc::new(Mutex::new(InnerListState::new())))
}
pub fn list(&self) -> List<Id> {
pub fn widget(&self) -> List<Id> {
List::new(self.0.clone())
}