Skip to content

Commit 8552f5f

Browse files
committed
Format code
1 parent 1826410 commit 8552f5f

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

Sources/Sentry/SentrySDK.m

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,19 +432,22 @@ + (void)captureFeedback:(SentryFeedback *)feedback
432432
[SentrySDK.currentHub captureFeedback:feedback];
433433
}
434434

435-
436-
+ (void)showFeedbackWidget {
435+
+ (void)showFeedbackWidget
436+
{
437437
if (@available(iOS 13.0, *)) {
438-
SentryUserFeedbackIntegration *feedback = [currentHub getInstalledIntegration:[SentryUserFeedbackIntegration class]];
438+
SentryUserFeedbackIntegration *feedback =
439+
[currentHub getInstalledIntegration:[SentryUserFeedbackIntegration class]];
439440
[feedback showWidget];
440441
} else {
441442
SENTRY_LOG_WARN(@"Sentry User Feedback is only available on iOS 13 or later.");
442443
}
443444
}
444445

445-
+ (void)hideFeedbackWidget {
446+
+ (void)hideFeedbackWidget
447+
{
446448
if (@available(iOS 13.0, *)) {
447-
SentryUserFeedbackIntegration *feedback = [currentHub getInstalledIntegration:[SentryUserFeedbackIntegration class]];
449+
SentryUserFeedbackIntegration *feedback =
450+
[currentHub getInstalledIntegration:[SentryUserFeedbackIntegration class]];
448451
[feedback hideWidget];
449452
} else {
450453
SENTRY_LOG_WARN(@"Sentry User Feedback is only available on iOS 13 or later.");

Sources/Sentry/SentryUserFeedbackIntegration.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ - (BOOL)installWithOptions:(SentryOptions *)options
2727
return YES;
2828
}
2929

30-
- (void)showWidget {
30+
- (void)showWidget
31+
{
3132
[_driver showWidget];
3233
}
3334

34-
- (void)hideWidget {
35+
- (void)hideWidget
36+
{
3537
[_driver hideWidget];
3638
}
3739

0 commit comments

Comments
 (0)