Skip to content

Commit

Permalink
chore: Move opensource url to string
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Apr 20, 2024
1 parent bde6fe1 commit 2f66c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fun SettingsScreen(settingsViewModel: SettingsViewModel = hiltViewModel()) {
val customTabsIntent = builder.build()
customTabsIntent.launchUrl(
context,
Uri.parse("https://github.com/kongwoojin/koreatech_board_client_android")
Uri.parse(context.getString(R.string.setting_source_code_url))
)
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<string name="setting_subscribe_new_notice_summary_department">Receive notification when new department notice posted</string>
<string name="setting_license_title">Opensource License</string>
<string name="setting_source_code_title">Source Code</string>
<string name="setting_source_code_url" translatable="false">https://github.com/kongwoojin/koreatech-board-android</string>
<string name="setting_enquiry_mail_title">Send email</string>
<string name="setting_mail_address" translatable="false">[email protected]</string>
<string name="setting_mail_subject">Koreatech Board Enquiry</string>
Expand Down

0 comments on commit 2f66c5a

Please sign in to comment.