Skip to content

Commit 1374307

Browse files
committed
Adjust snippet indents
1 parent db681b9 commit 1374307

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

platform-includes/replay/privacy-configuration/dart.flutter.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ For example, you can explicitly mask or unmask widgets by type,
1717
or you can even have a callback to decide whether a specific widget instance should be masked:
1818

1919
```dart
20-
options.privacy.mask<IconButton>();
21-
options.privacy.unmask<Image>();
22-
options.privacy.maskCallback<Text>(
23-
(Element element, Text widget) =>
24-
(widget.data?.contains('secret') ?? false)
25-
? SentryMaskingDecision.mask
26-
: SentryMaskingDecision.continueProcessing);
20+
options.privacy.mask<IconButton>();
21+
options.privacy.unmask<Image>();
22+
options.privacy.maskCallback<Text>(
23+
(Element element, Text widget) =>
24+
(widget.data?.contains('secret') ?? false)
25+
? SentryMaskingDecision.mask
26+
: SentryMaskingDecision.continueProcessing);
2727
```
2828

2929
### `maskAllText`
@@ -53,6 +53,6 @@ If you find that data isn't being masked with the default settings, please let u
5353
To disable masking for <PlatformLink to="/enriching-events/screenshots/">`Screenshots`</PlatformLink> and <PlatformLink to="/session-replay/">`Session Replay`</PlatformLink> (not to be used on applications with sensitive data):
5454

5555
```dart
56-
options.privacy.maskAllText = false;
57-
options.privacy.maskAllImages = false;
56+
options.privacy.maskAllText = false;
57+
options.privacy.maskAllImages = false;
5858
```

0 commit comments

Comments
 (0)