Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when appearing some ItemView #143

Merged
merged 2 commits into from
Aug 16, 2021
Merged

Fix crash when appearing some ItemView #143

merged 2 commits into from
Aug 16, 2021

Conversation

PangMo5
Copy link
Member

@PangMo5 PangMo5 commented Aug 15, 2021

  • remove some force unwrapping

@PangMo5 PangMo5 added the bug Something isn't working label Aug 15, 2021
@PangMo5 PangMo5 self-assigned this Aug 15, 2021
@PangMo5 PangMo5 requested a review from acvigue as a code owner August 15, 2021 21:54
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Comment on lines +132 to +133
guard let runTimeTicks = runTimeTicks,
let text = timeHMSFormatter.string(from: Double(runTimeTicks / 10_000_000)) else { return "" }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is the only place that's changed. :p

@PangMo5 PangMo5 changed the title Fix crash Fix crash when appearing some ItemView Aug 15, 2021
Copy link
Member

@acvigue acvigue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@acvigue acvigue merged commit 6f24362 into main Aug 16, 2021
@acvigue acvigue deleted the PangMo5/fix-crash branch August 16, 2021 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants