different new publish from publish update

This commit is contained in:
Akinwale Ariwodola 2020-05-25 12:14:12 +01:00
parent ef7caeeead
commit 3951b1080d
2 changed files with 2 additions and 1 deletions

View file

@ -1096,7 +1096,7 @@ public class PublishFormFragment extends BaseFragment implements
Bundle bundle = new Bundle();
bundle.putString("claim_id", claimResult.getClaimId());
bundle.putString("claim_name", claimResult.getName());
LbryAnalytics.logEvent(LbryAnalytics.EVENT_PUBLISH, bundle);
LbryAnalytics.logEvent(editMode ? LbryAnalytics.EVENT_PUBLISH_UPDATE : LbryAnalytics.EVENT_PUBLISH, bundle);
Context context = getContext();
if (context instanceof MainActivity) {

View file

@ -23,6 +23,7 @@ public class LbryAnalytics {
public static final String EVENT_TAG_FOLLOW = "tag_follow";
public static final String EVENT_TAG_UNFOLLOW = "tag_unfollow";
public static final String EVENT_PUBLISH = "publish";
public static final String EVENT_PUBLISH_UPDATE = "publish_update";
public static final String EVENT_CHANNEL_CREATE = "channel_create";
public static final String EVENT_SEARCH = "search";