Skip to content

Commit 0cf5bdd

Browse files
authored
CU-868c0kcue: Add screenRecording to HiddenSettings (#147)
1 parent b353973 commit 0cf5bdd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Assets/MXR.SDK/Runtime/Types/RuntimeTypes.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ public Video KioskVideo {
177177
[JsonIgnore]
178178
public bool IsWifiHidden => TryGet(x => x.customLauncherSettings.hiddenSettings.wifi, false);
179179

180+
/// <summary>
181+
/// Helper property for whether the screen recording icon is hidden
182+
/// </summary>
183+
[JsonIgnore]
184+
public bool IsScreenRecordingHidden => TryGet(x => x.customLauncherSettings.hiddenSettings.screenRecording, false);
185+
180186
/// <summary>
181187
/// Helper property for whether the Admin settings are hidden
182188
/// </summary>
@@ -341,6 +347,7 @@ public class HiddenSettings {
341347
public bool wifi;
342348
public bool passthrough;
343349
public bool brightness;
350+
public bool screenRecording;
344351
public bool adminSettings;
345352
}
346353
/// <summary>

0 commit comments

Comments
 (0)