79074604

Date: 2024-10-10 13:27:58
Score: 0.5
Natty:
Report link
var body: some View {
    ScrollView {
        LazyVStack {
            ForEach(0..<15) { _ in
                /*
                 Временная заглушка
                 Placeholder content
                 */
                Text("PLACEHOLDER")
                    .font(.largeTitle)
                    .bold()
                    .frame(maxWidth: .infinity)
                    .frame(height: 200)
                    .background(Color.appAccentColor)
            }
        }
    }
    .toolbar(.hidden, for: .tabBar)
    .toolbar {
        trailingUserAvatar()
        toolbarUserInfo()
    }
    .toolbarTitleDisplayMode(.inline) // <--
    .safeAreaInset(edge: .bottom) {
        TextInputArea()
            .background(Color(.systemBackground))
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Rudnitskiy