mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 21:29:00 +00:00
public HabitItem.getType
This commit is contained in:
parent
08c9ab0fe1
commit
e52f10b83c
5 changed files with 5 additions and 5 deletions
|
|
@ -92,7 +92,7 @@ public class Daily extends Checklist{
|
|||
this.repeat = repeat;
|
||||
}
|
||||
@Override
|
||||
protected HabitType getType() {
|
||||
public HabitType getType() {
|
||||
return type;
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public class Habit extends HabitItem{
|
|||
this.down = down;
|
||||
}
|
||||
@Override
|
||||
protected HabitType getType() {
|
||||
public HabitType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ public abstract class HabitItem extends BaseModel {
|
|||
* Returns a string of the type of the HabitItem
|
||||
* @return the string of the Item type
|
||||
*/
|
||||
protected abstract HabitType getType();
|
||||
public abstract HabitType getType();
|
||||
|
||||
/**
|
||||
* Creates a JSON String for this HabitItem using the basic information.<br>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class Reward extends HabitItem{
|
|||
}
|
||||
|
||||
@Override
|
||||
protected HabitType getType() {
|
||||
public HabitType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ public class ToDo extends Checklist{
|
|||
}
|
||||
|
||||
@Override
|
||||
protected HabitType getType() {
|
||||
public HabitType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue