Skip to content

Commit f5fa9a2

Browse files
committed
Fix rename
1 parent 6e43eb8 commit f5fa9a2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/src/main/kotlin/io/homeassistant/companion/android/webview/WebViewContentScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,6 @@ private fun WebViewContentScreenPreview() {
301301
webViewInitialized = true,
302302
customViewFromWebView = null,
303303
onFullscreenClicked = {},
304-
onDiscardNotificationPermission = {},
304+
onNotificationPermissionResult = {},
305305
)
306306
}

app/src/screenshotTest/kotlin/io/homeassistant/companion/android/webview/WebViewContentScreenScreenshotTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class WebViewContentScreenScreenshotTest {
2626
webViewInitialized = true,
2727
customViewFromWebView = null,
2828
onFullscreenClicked = {},
29-
onDiscardNotificationPermission = {},
29+
onNotificationPermissionResult = {},
3030
)
3131
}
3232

@@ -46,7 +46,7 @@ class WebViewContentScreenScreenshotTest {
4646
webViewInitialized = true,
4747
customViewFromWebView = null,
4848
onFullscreenClicked = {},
49-
onDiscardNotificationPermission = {},
49+
onNotificationPermissionResult = {},
5050
)
5151
}
5252

@@ -66,7 +66,7 @@ class WebViewContentScreenScreenshotTest {
6666
webViewInitialized = true,
6767
customViewFromWebView = null,
6868
onFullscreenClicked = {},
69-
onDiscardNotificationPermission = {},
69+
onNotificationPermissionResult = {},
7070
)
7171
}
7272

@@ -86,7 +86,7 @@ class WebViewContentScreenScreenshotTest {
8686
webViewInitialized = true,
8787
customViewFromWebView = null,
8888
onFullscreenClicked = {},
89-
onDiscardNotificationPermission = {},
89+
onNotificationPermissionResult = {},
9090
supportsNotificationPermission = true,
9191
)
9292
}

0 commit comments

Comments
 (0)