File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 38453845 }
38463846 }
38473847 },
3848+ "Ссылка на GitHub" : {
3849+ "extractionState" : "manual",
3850+ "localizations" : {
3851+ "en" : {
3852+ "stringUnit" : {
3853+ "state" : "translated",
3854+ "value" : "GitHub page"
3855+ }
3856+ }
3857+ }
3858+ },
38483859 "Страна" : {
38493860 "extractionState" : "manual",
38503861 "localizations" : {
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ struct SettingsScreen: View {
2626 userAgreementButton
2727 officialSiteButton
2828 developerProfileButton
29+ githubButton
2930 shareAppButton
3031 appVersionView
3132 }
@@ -59,6 +60,7 @@ private extension SettingsScreen {
5960 static let appReview = URL ( string: " https://apps.apple.com/app/id1035159361?action=write-review " ) !
6061 static let workoutShop = URL ( string: " https://workoutshop.ru//SWiOS " ) !
6162 static let developerBlog = URL ( string: " https://t.me/easy_dev991 " ) !
63+ static let githubLink = URL ( string: " https://github.com/easydev991/SwiftUI-WorkoutApp " ) !
6264 static let officialSite = URL ( string: " https://workout.su " ) !
6365 static let rulesOfService = URL ( string: " https://workout.su/pravila " ) !
6466 static let appStoreLink = URL ( string: " https://apps.apple.com/app/id1035159361 " )
@@ -193,6 +195,15 @@ private extension SettingsScreen {
193195 }
194196 }
195197
198+ var githubButton : some View {
199+ Link ( destination: Links . githubLink) {
200+ ListRowView (
201+ leadingContent: . text( " Ссылка на GitHub " ) ,
202+ trailingContent: . chevron
203+ )
204+ }
205+ }
206+
196207 @ViewBuilder
197208 var shareAppButton : some View {
198209 if #available( iOS 16 . 0 , * ) , let url = Links . appStoreLink {
You can’t perform that action at this time.
0 commit comments