summaryrefslogtreecommitdiff
path: root/Example Apps/Example Swift/ButtonManager.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Example Apps/Example Swift/ButtonManager.swift')
-rw-r--r--Example Apps/Example Swift/ButtonManager.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Example Apps/Example Swift/ButtonManager.swift b/Example Apps/Example Swift/ButtonManager.swift
index 19549a1bb..02d3f7962 100644
--- a/Example Apps/Example Swift/ButtonManager.swift
+++ b/Example Apps/Example Swift/ButtonManager.swift
@@ -33,11 +33,11 @@ class ButtonManager: NSObject {
}
private var isSubtleAlertAllowed: Bool {
- return self.sdlManager.permissionManager.isRPCNameAllowed(SDLRPCFunctionName.subtleAlert)
+ return sdlManager.permissionManager.isRPCNameAllowed(.subtleAlert)
}
private var isAlertAllowed: Bool {
- return self.sdlManager.permissionManager.isRPCNameAllowed(SDLRPCFunctionName.alert)
+ return sdlManager.permissionManager.isRPCNameAllowed(.alert)
}
init(sdlManager: SDLManager, updateScreenHandler: RefreshUIHandler? = nil) {