Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

Rev 1 | Rev 17 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 10... Línea 10...
10
import HTMLEntities
10
import HTMLEntities
Línea 11... Línea 11...
11
 
11
 
12
struct CompanyListItemView: View {
12
struct CompanyListItemView: View {
Línea 13... Línea 13...
13
    @EnvironmentObject var appNavigation : AppNavigation
13
    @EnvironmentObject var appNavigation : AppNavigation
Línea 14... Línea 14...
14
    
14
    
15
    private let appData : AppData = AppData.sharedInstance
15
    private let appDao = AppDao.sharedInstance
Línea 16... Línea 16...
16
    
16
    
Línea 77... Línea 77...
77
                            .foregroundColor(Color("color_capsule_list_item_title_foreground"))
77
                            .foregroundColor(Color("color_capsule_list_item_title_foreground"))
Línea 78... Línea 78...
78
                     
78
                     
Línea 79... Línea 79...
79
                        Spacer()
79
                        Spacer()
80
                        
-
 
-
 
80
                        
81
                        Button(action: {
81
                        Button(action: {
-
 
82
                            var appData = appDao.selectOne()
-
 
83
                            appData.companyUuidActive = self.companyModel.uuid
82
                            
84
                            
Línea 83... Línea 85...
83
                            appData.companyUuidActive = self.companyModel.uuid
85
                            print("update query : 17")
84
                            appData.save()
86
                            appDao.update(model: appData)
85
                            
87