feat: improve PeopleView labels
This commit is contained in:
parent
cf97709ad1
commit
840f8cff9b
2 changed files with 5 additions and 9 deletions
|
@ -1,5 +1,8 @@
|
||||||
package com.application.munera.views.expenses;
|
package com.application.munera.data;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
public enum BadgeMessage {
|
public enum BadgeMessage {
|
||||||
PAID_TO_SOMEONE("Paid to someone", "badge success"),
|
PAID_TO_SOMEONE("Paid to someone", "badge success"),
|
||||||
PAID_TO_YOU("Paid to you", "badge success"),
|
PAID_TO_YOU("Paid to you", "badge success"),
|
||||||
|
@ -17,11 +20,4 @@ public enum BadgeMessage {
|
||||||
this.theme = theme;
|
this.theme = theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getText() {
|
|
||||||
return text;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTheme() {
|
|
||||||
return theme;
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -4,7 +4,7 @@ import com.application.munera.data.*;
|
||||||
import com.application.munera.services.ExpenseService;
|
import com.application.munera.services.ExpenseService;
|
||||||
import com.application.munera.services.PersonService;
|
import com.application.munera.services.PersonService;
|
||||||
import com.application.munera.views.MainLayout;
|
import com.application.munera.views.MainLayout;
|
||||||
import com.application.munera.views.expenses.BadgeMessage;
|
import com.application.munera.data.BadgeMessage;
|
||||||
import com.vaadin.flow.component.UI;
|
import com.vaadin.flow.component.UI;
|
||||||
import com.vaadin.flow.component.button.Button;
|
import com.vaadin.flow.component.button.Button;
|
||||||
import com.vaadin.flow.component.button.ButtonVariant;
|
import com.vaadin.flow.component.button.ButtonVariant;
|
||||||
|
|
Loading…
Reference in a new issue