Skip to content

Commit

Permalink
Add an explanation text
Browse files Browse the repository at this point in the history
  • Loading branch information
Hustenbonbon committed Feb 8, 2023
1 parent 13e27aa commit d47d5e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions PayForMe/Strings/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@

"Member name" = "Mitglieder Name";

"Add a default payer for new bills (e.g. yourself)" = "Setze einen voreingestellten Bezahler für neue Ausgaben (z.B. dich selbst)";

/* BalanceList.swift */
"Members" = "Mitglieder";

Expand Down
2 changes: 2 additions & 0 deletions PayForMe/Strings/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@

"Member name" = "Member name";

"Add a default payer for new bills (e.g. yourself)" = "Add a default payer for new bills (e.g. yourself)"

/* BalanceList.swift */
"Members" = "Members";

Expand Down
8 changes: 6 additions & 2 deletions PayForMe/Views/Projects/ProjectListEntry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ struct ProjectListEntry: View {
.foregroundColor(self.currentProject == project ? .accentColor : .primary)
}
if edit {
WhoPaidView(members: Array(project.members.values), selectedPayer: self.$me)
.animation(.spring(), value: edit)
VStack(alignment: .leading) {
Text("Add a default payer for new bills (e.g. yourself)")
.font(.caption)
.foregroundColor(.primary)
WhoPaidView(members: Array(project.members.values), selectedPayer: self.$me)
}
}
})
.onAppear {
Expand Down

0 comments on commit d47d5e6

Please sign in to comment.