rename attachment_store -> attachment_registry (#11501)

Minor touch up from #11471

Release Notes:

- N/A
This commit is contained in:
Kyle Kelley 2024-05-07 09:18:18 -07:00 committed by GitHub
parent 4eedbdedae
commit b038fb3729
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 9 deletions

View file

@ -22,7 +22,7 @@ pub struct ActiveFileButton {
impl ActiveFileButton {
pub fn new(
attachment_store: Arc<AttachmentRegistry>,
attachment_registry: Arc<AttachmentRegistry>,
workspace: View<Workspace>,
cx: &mut ViewContext<Self>,
) -> Self {
@ -31,7 +31,7 @@ impl ActiveFileButton {
cx.defer(move |this, cx| this.update_active_buffer(workspace.clone(), cx));
Self {
attachment_registry: attachment_store,
attachment_registry,
status: Status::NoFile,
workspace_subscription,
}