rename attachment_store -> attachment_registry (#11501)
Minor touch up from #11471 Release Notes: - N/A
This commit is contained in:
parent
4eedbdedae
commit
b038fb3729
2 changed files with 10 additions and 9 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue