NCUserStatus.swift 880 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // NCUserStatus.swift
  3. // Nextcloud
  4. //
  5. // Created by Marino Faggiana on 23/11/20.
  6. // Copyright © 2020 Marino Faggiana. All rights reserved.
  7. //
  8. import SwiftUI
  9. @available(iOS 13.0, *)
  10. struct NCUserStatus: View {
  11. var body: some View {
  12. VStack(alignment: .leading) {
  13. HStack {
  14. Image("userStatusAway")
  15. .resizable()
  16. .frame(width: 100.0, height: 100.0)
  17. .clipShape(Circle())
  18. }
  19. Text("Hello World44,2")
  20. .font(.headline)
  21. .foregroundColor(Color.red)
  22. .lineLimit(0)
  23. Text("test")
  24. }
  25. }
  26. }
  27. @available(iOS 13.0, *)
  28. struct NCUserStatus_Previews: PreviewProvider {
  29. static var previews: some View {
  30. Group {
  31. NCUserStatus()
  32. }
  33. }
  34. }