Skip to content

Commit

Permalink
Merge pull request #717 from 0x1-company/share-the-app
Browse files Browse the repository at this point in the history
feat: 🎸 add localize
  • Loading branch information
tomokisun authored Oct 8, 2023
2 parents 87d8d3f + 85f3c11 commit fcf8efb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "upside-down-face.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions Packages/GodPackage/Sources/GodFeature/ShareTheApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,19 @@ public struct ShareTheAppView: View {
Color.godService
.ignoresSafeArea()
VStack(spacing: 20) {
Text("Get more\nfriends to play")
Image(ImageResource.upsideDownFace)
.resizable()
.aspectRatio(1, contentMode: .fit)
.frame(width: 100)

Text("Get more\nfriends to play", bundle: .module)
.font(.title2)
.foregroundStyle(Color.white)

ShareLink(
item: URL(string: "https://godapp.jp")!
) {
Text("Share the app")
Text("Share the app", bundle: .module)
.bold()
.frame(width: 188, height: 54)
.background(Color.white)
Expand Down

0 comments on commit fcf8efb

Please sign in to comment.