Skip to content

Commit 84199d3

Browse files
committed
Core: Hide some implementation classes.
1 parent 0cbf59b commit 84199d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/dev/webview/webview_java/_WindowsHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static void setWindowAppearance(Webview webview, boolean shouldBeDark) {
4949
User32.N.InvalidateRect(hwnd, null, 0); // Repaint
5050
}
5151

52-
static interface DWM extends Library {
52+
private static interface DWM extends Library {
5353
static final DWM N = Native.load("dwmapi", DWM.class);
5454

5555
static final int DWMWA_USE_IMMERSIVE_DARK_MODE_BEFORE_20H1 = 19;
@@ -59,7 +59,7 @@ static interface DWM extends Library {
5959

6060
}
6161

62-
static interface User32 extends Library {
62+
private static interface User32 extends Library {
6363
static final User32 N = Native.load("user32", User32.class);
6464

6565
int InvalidateRect(HWND hwnd, PointerByReference rect, int erase);

0 commit comments

Comments
 (0)