damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

FollowsYou.swift (690B)


      1 //
      2 //  FollowsYou.swift
      3 //  damus
      4 //
      5 //  Created by William Casarin on 2023-02-07.
      6 //
      7 
      8 import SwiftUI
      9 
     10 struct FollowsYou: View {
     11     
     12     var body: some View {
     13         Text("Follows you", comment: "Text to indicate that a user is following your profile.")
     14             .padding([.leading, .trailing], 6.0)
     15             .padding([.top, .bottom], 2.0)
     16             .foregroundColor(.gray)
     17             .background {
     18                 RoundedRectangle(cornerRadius: 5.0)
     19                     .foregroundColor(DamusColors.adaptableGrey)
     20             }
     21             .font(.footnote)
     22     }
     23 }
     24 
     25 struct FollowsYou_Previews: PreviewProvider {
     26     static var previews: some View {
     27         FollowsYou()
     28     }
     29 }