diff LazyBear/Views/Profile/ProfileView.swift @ 432:3ca32ff79630

Fixes RenameSheetList bug
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 19 Jun 2021 20:13:25 +0200
parents e707dbfc3115
children 5ca468751db2
line wrap: on
line diff
--- a/LazyBear/Views/Profile/ProfileView.swift	Sat Jun 19 16:43:57 2021 +0200
+++ b/LazyBear/Views/Profile/ProfileView.swift	Sat Jun 19 20:13:25 2021 +0200
@@ -25,7 +25,7 @@
                         let watchlistsNames = Array(Set(watchlistCompanies.map { $0.watchlistName })).sorted()  /// Get watchlistsNames in Core Data
                         ForEach(watchlistsNames, id: \.self) { watchlistName in
                             let companies = createWatchlistRow(apiCompanies, watchlistCompanies, watchlistName)
-                            StockRow(listName: watchlistName, companies: companies, showWatchlistSheet: true)
+                            ProfileStockRow(watchlistName: watchlistName, companies: companies)
                         }
                         .listRowInsets(EdgeInsets())
                         .onAppear {  /// Request API again when Core Data changes to update the list