Accounts: Allow text selection of username and bio

This commit is contained in:
Thomas Ricouard 2023-02-28 18:49:02 +01:00
parent 54198c877f
commit 735ed6a211
13 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{
"images" : [
{
"filename" : "icon.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

View file

@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "icon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
IceCubesApp/Embeds/bookmark.wav Executable file

Binary file not shown.

BIN
IceCubesApp/Embeds/boost.wav Executable file

Binary file not shown.

BIN
IceCubesApp/Embeds/favorite.wav Executable file

Binary file not shown.

BIN
IceCubesApp/Embeds/pull.wav Executable file

Binary file not shown.

BIN
IceCubesApp/Embeds/refresh.wav Executable file

Binary file not shown.

BIN
IceCubesApp/Embeds/share.wav Executable file

Binary file not shown.

Binary file not shown.

BIN
IceCubesApp/Embeds/tootSent.wav Executable file

Binary file not shown.

View file

@ -156,6 +156,7 @@ struct AccountDetailHeaderView: View {
Text("@\(account.acct)") Text("@\(account.acct)")
.font(.scaledCallout) .font(.scaledCallout)
.foregroundColor(.gray) .foregroundColor(.gray)
.textSelection(.enabled)
joinedAtView joinedAtView
} }
Spacer() Spacer()
@ -181,6 +182,7 @@ struct AccountDetailHeaderView: View {
.font(.scaledBody) .font(.scaledBody)
.emojiSize(Font.scaledBodyPointSize) .emojiSize(Font.scaledBodyPointSize)
.padding(.top, 8) .padding(.top, 8)
.textSelection(.enabled)
.environment(\.openURL, OpenURLAction { url in .environment(\.openURL, OpenURLAction { url in
routerPath.handle(url: url) routerPath.handle(url: url)
}) })