Skip to content

Commit

Permalink
fix(FooterStatusDisplayItem): implement applyInteraction
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed May 26, 2024
1 parent 542c24f commit 47ab6b5
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,17 @@ private int descriptionForId(int id){
return 0;
}

private void applyInteraction(View v, Consumer<Status> interactionConsumer) {
if(!item.status.isRemote){
interactionConsumer.accept(item.status);
return;
}
UiUtils.lookupStatus(v.getContext(),
item.status, item.accountID, null,
interactionConsumer
);
}

private static void vibrateForAction(View view, boolean isPositive) {
if (!GlobalUserPreferences.hapticFeedback) return;

Expand Down

0 comments on commit 47ab6b5

Please sign in to comment.