feat: 최근 들은 콘텐츠 로컬 DB 추가
This commit is contained in:
		@@ -12,6 +12,7 @@ struct SettingsView: View {
 | 
			
		||||
    @State private var isShowLogoutAllDeviceDialog = false
 | 
			
		||||
    
 | 
			
		||||
    @StateObject var viewModel = SettingsViewModel()
 | 
			
		||||
    @StateObject var recentContentViewModel = RecentContentViewModel()
 | 
			
		||||
    
 | 
			
		||||
    var body: some View {
 | 
			
		||||
        let cardWidth = screenSize().width - 26.7
 | 
			
		||||
@@ -200,7 +201,10 @@ struct SettingsView: View {
 | 
			
		||||
                        ContentPlayerPlayManager.shared.resetPlayer()
 | 
			
		||||
                        viewModel.logout {
 | 
			
		||||
                            self.isShowLogoutDialog = false
 | 
			
		||||
                            
 | 
			
		||||
                            UserDefaults.reset()
 | 
			
		||||
                            recentContentViewModel.truncate()
 | 
			
		||||
                            
 | 
			
		||||
                            AppState.shared.isChangeAdultContentVisible = true
 | 
			
		||||
                            AppState.shared.setAppStep(step: .splash)
 | 
			
		||||
                        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user