Fix memory leaks and add debug tools, remove ControlCenterTip
Memory optimization: - Add onDisappear cleanup for repeatForever animations in LockScreenView - Add onDisappear cleanup for animations in FeelsSubscriptionStoreView - Add onDisappear cleanup in AddMoodHeaderView and PaywallPreviewSettingsView Debug improvements: - Add test data and clear data buttons to Settings (debug builds only) TipKit changes: - Remove ControlCenterTip (unused) - Add TipKit-Tips.md documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -382,6 +382,9 @@ struct OrbitVotingView: View {
|
||||
centerPulse = 1.1
|
||||
}
|
||||
}
|
||||
.onDisappear {
|
||||
centerPulse = 1.0
|
||||
}
|
||||
.accessibilityElement(children: .contain)
|
||||
.accessibilityLabel(String(localized: "Mood selection"))
|
||||
}
|
||||
@@ -589,6 +592,9 @@ struct NeonVotingView: View {
|
||||
pulsePhase = true
|
||||
}
|
||||
}
|
||||
.onDisappear {
|
||||
pulsePhase = false
|
||||
}
|
||||
}
|
||||
|
||||
private var neonGridBackground: some View {
|
||||
|
||||
Reference in New Issue
Block a user