mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 18:26:57 +00:00
Add gift badge call to action for release notes.
This commit is contained in:
@@ -80,6 +80,7 @@ import org.thoughtcrime.securesms.LoggingFragment;
|
||||
import org.thoughtcrime.securesms.R;
|
||||
import org.thoughtcrime.securesms.badges.gifts.OpenableGift;
|
||||
import org.thoughtcrime.securesms.badges.gifts.OpenableGiftItemDecoration;
|
||||
import org.thoughtcrime.securesms.badges.gifts.flow.GiftFlowActivity;
|
||||
import org.thoughtcrime.securesms.badges.gifts.viewgift.received.ViewReceivedGiftBottomSheet;
|
||||
import org.thoughtcrime.securesms.badges.gifts.viewgift.sent.ViewSentGiftBottomSheet;
|
||||
import org.thoughtcrime.securesms.components.ConversationScrollToView;
|
||||
@@ -2048,7 +2049,9 @@ public class ConversationFragment extends LoggingFragment implements Multiselect
|
||||
|
||||
@Override
|
||||
public void onCallToAction(@NonNull String action) {
|
||||
|
||||
if ("gift_badge".equals(action)) {
|
||||
startActivity(new Intent(requireContext(), GiftFlowActivity.class));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user