Skip to content

Commit

Permalink
[#3903] Move WatchersScreen to SelectCurrencyPurpose
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Sep 13, 2024
1 parent 17401f9 commit 267fc07
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ios/CCC/UI/Watchers/WatcherItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,19 @@ struct WatcherItem: View {
}.sheet(
isPresented: $isSourceBarShown,
content: {
SelectCurrencyRootView(isBarShown: $isSourceBarShown, purpose: SelectCurrencyPurpose.Source(watcher: watcher))
SelectCurrencyRootView(
isBarShown: $isSourceBarShown,
purpose: SelectCurrencyPurpose.Source(watcher: watcher)
)
}
)
.sheet(
isPresented: $isTargetBarShown,
content: {
SelectCurrencyRootView(isBarShown: $isTargetBarShown, purpose: SelectCurrencyPurpose.Target(watcher: watcher))
SelectCurrencyRootView(
isBarShown: $isTargetBarShown,
purpose: SelectCurrencyPurpose.Target(watcher: watcher)
)
}
)
}
Expand Down

0 comments on commit 267fc07

Please sign in to comment.