package com.alexstyl.specialdates.events.peopleevents;

import com.alexstyl.specialdates.R;
import com.alexstyl.resources.StringResources;
import com.alexstyl.specialdates.events.database.EventColumns;

public class CustomEventType implements EventType {

    private final String name;

    public CustomEventType(String name) {
        this.name = name;
    }

    @Override
    public String getEventName(StringResources stringResources) {
        return name;
    }

    @Override
    public int getColorRes() {
        return R.color.purple_custom_event;
    }

    @Override
    public int getId() {
        return EventColumns.TYPE_CUSTOM;
    }

    @Override
    public int getIconResId() {
        return R.drawable.ic_cake;
    }
}

@@ -727,11 +727,13 @@
 ic_c
-ake
+ustom
 ;%0A  

Return custom icon for custom events