Skip to content

Commit

Permalink
chore: impl support onclick
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal2376 committed Apr 1, 2024
1 parent 4f19045 commit 485881a
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ fun SettingsScreen(
),
SettingCategoryItem(title = stringResource(R.string.support),
resId = R.drawable.ic_support,
onClick = {}
onClick = {
val repoUrl = Constants.GITHUB + "/snaptick#snaptick"
openUrl(context, repoUrl)
}
),
)

Expand Down Expand Up @@ -153,8 +156,8 @@ fun SettingsScreen(
}

R.string.language -> {
LanguageOptionComponent(defaultLanguage = appState.language){
onEvent(MainEvent.UpdateLanguage(it,context))
LanguageOptionComponent(defaultLanguage = appState.language) {
onEvent(MainEvent.UpdateLanguage(it, context))
}
}

Expand Down

0 comments on commit 485881a

Please sign in to comment.