Improve InlineTextButton API

This commit is contained in:
Alfonso Grillo
2022-10-26 22:04:19 +02:00
parent d625a3f73a
commit da548fc314
3 changed files with 5 additions and 4 deletions
@@ -49,7 +49,7 @@ struct UserOtherSessionsHeaderView: View {
.foregroundColor(theme.colors.primaryContent)
.padding(.vertical, 9.0)
}
InlineTextButton(viewData.subtitle, tappableText: VectorL10n.userSessionLearnMore) {
InlineTextButton(viewData.subtitle, tappableText: VectorL10n.userSessionLearnMore, alwaysCallAction: false) {
onLearnMoreAction?()
}
.font(theme.fonts.footnote)