mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-04 00:44:20 +01:00
columns/profile: rename process -> process_profile_action
lets start clarifying these names for easier searching Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -389,7 +389,7 @@ fn process_render_nav_action(
|
|||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RenderNavAction::ProfileAction(profile_action) => profile_action.process(
|
RenderNavAction::ProfileAction(profile_action) => profile_action.process_profile_action(
|
||||||
&mut app.view_state.pubkey_to_profile_state,
|
&mut app.view_state.pubkey_to_profile_state,
|
||||||
ctx.ndb,
|
ctx.ndb,
|
||||||
ctx.pool,
|
ctx.pool,
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ pub enum ProfileAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl ProfileAction {
|
impl ProfileAction {
|
||||||
pub fn process(
|
pub fn process_profile_action(
|
||||||
&self,
|
&self,
|
||||||
state_map: &mut HashMap<Pubkey, ProfileState>,
|
state_map: &mut HashMap<Pubkey, ProfileState>,
|
||||||
ndb: &Ndb,
|
ndb: &Ndb,
|
||||||
|
|||||||
Reference in New Issue
Block a user