summaryrefslogtreecommitdiff
path: root/Hutch/App/RootView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/App/RootView.swift')
-rw-r--r--Hutch/App/RootView.swift7
1 files changed, 7 insertions, 0 deletions
diff --git a/Hutch/App/RootView.swift b/Hutch/App/RootView.swift
index e3baa76..f65bced 100644
--- a/Hutch/App/RootView.swift
+++ b/Hutch/App/RootView.swift
@@ -123,6 +123,13 @@ struct RootView: View {
get: { appState.selectedTab },
set: { appState.selectedTab = $0 }
)))
+ .safeAreaInset(edge: .bottom) {
+ if let message = appState.copyConfirmationMessage {
+ CopyConfirmationBadge(message: message)
+ .padding(.bottom, 4)
+ .transition(.move(edge: .bottom).combined(with: .opacity))
+ }
+ }
.overlay {
if isResolvingDeepLink {
ZStack {