Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 8
Línea 7... Línea 7...
7
 
7
 
Línea 8... Línea 8...
8
import SwiftUI
8
import SwiftUI
Línea 9... Línea 9...
9
 
9
 
Línea 10... Línea 10...
10
struct CommentAndRatingIntroductionView: View {
10
struct CommentAndRatingIntroductionView: View {
Línea -... Línea 11...
-
 
11
    
11
    
12
    var capsuleModel : CapsuleModel
12
    var introduction: String
13
    
-
 
14
    var body: some View {
13
    
15
 
-
 
16
        GeometryReader { geometry in
14
    var body: some View {
17
            ScrollView {
15
 
18
                TextHtmlView(content: capsuleModel.description)
-
 
19
                    .frame(width: geometry.size.width, height: geometry.size.height
16
        ScrollView {
20
                            )
17
        TextHtmlView(content: introduction)
21
 
Línea 18... Línea 22...
18
        .padding(10)
22
                
Línea 19... Línea 23...
19
            
23
            } .background(Color("color_window_background"))
Línea 20... Línea 24...
20
        } .background(Color("color_window_background"))
24
        }
21
    }
25
    }
22
}
26
}
23
 
27