Proyectos de Subversion Iphone Microlearning - Inconcert

Rev

Autoría | Ultima modificación | Ver Log |

//
//  CommentAndRatingCommentListEmptyView.swift
//  twogetskills
//
//  Created by Efrain Yanez Recanatini on 8/2/22.
//

import SwiftUI

struct CommentAndRatingCommentListEmptyView: View {
    
    
    
    var body: some View {
        VStack(spacing: 0 ) {
        Group {
            HStack {
                Group {
                
                    Image(uiImage: UIImage(named: "logo") ?? UIImage())
                        .resizable()
                    .aspectRatio(contentMode: .fit)
                           
     
                }
                .frame(width: Config.COMMENT_IMAGE_SIZE_WIDTH, height: Config.COMMENT_IMAGE_SIZE_HEIGHT)
           
                    .clipShape(Circle())
                    .overlay(Circle().stroke(Color.white, lineWidth: 1))
                    
                
       
                
                VStack(spacing: 0)
                {
                    HStack {
                        Text(Config.LANG_COMMENTS_LIST_EMPTY)
                            .font(Font.custom(Config.FONT_NAME_BOLD, size: 14))
                            .foregroundColor(Color("color_capsule_list_item_title_foreground"))
                     
                        Spacer()
                        
                       
                    }
                
                
                }.padding(.top, 10)
                .padding(.bottom, 10)
            
        }
       
        
        Divider()
        } .background(Color("color_capsule_list_item_background"))
        .padding(.leading, 5)
        .padding(.trailing, 5)
        }
    }
}

struct CommentAndRatingCommentListEmptyView_Previews: PreviewProvider {
    static var previews: some View {
        CommentAndRatingCommentListEmptyView()
    }
}