Skip to content

Commit 113682c

Browse files
committed
🔥 Simplify account screen
Signed-off-by: Peter Friese <[email protected]>
1 parent 75f1387 commit 113682c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Examples/FriendlyFlix/app/FriendlyFlix/FriendlyFlix/Features/Authentication/AccountScreen.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ extension AccountScreen {
5757
}
5858
}
5959

60-
Section {
61-
Button(role: .destructive, action: {}) {
62-
Text("Clear viewing history")
63-
}
64-
}
65-
6660
Section {
6761
Button(action: signOut) {
6862
Text("Sign out")
@@ -84,4 +78,5 @@ extension AccountScreen {
8478

8579
#Preview {
8680
AccountScreen()
81+
.environment(AuthenticationService())
8782
}

0 commit comments

Comments
 (0)