Fix warning
This commit is contained in:
parent
b1d6487d64
commit
4bda91845a
@ -230,12 +230,14 @@ struct AccountView: View {
|
||||
Task {
|
||||
let endpoint: Endpoint = isFollowing ? Accounts.unfollow(id: account.id) : Accounts.follow(id: account.id, notify: false, reblogs: true)
|
||||
HapticManager.playHaptics(haptics: Haptic.tap)
|
||||
try await client.post(endpoint: endpoint) // Notify off until APNs? | Reblogs on by default (later changeable)
|
||||
_ = try await client.post(endpoint: endpoint) // Notify off until APNs? | Reblogs on by default (later changeable)
|
||||
isFollowing = !isFollowing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
func reloadUser() async {
|
||||
if let client = accountManager.getClient() {
|
||||
let userAcc = accountManager.getAccount()
|
||||
|
Loading…
x
Reference in New Issue
Block a user