Skip to content

Commit 36d836f

Browse files
committed
fixup! nw2: fix Window.setBadgeLabel and Window.setProgressBar
1 parent 4f48a46 commit 36d836f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/nw_window_api_mac.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ - (void)drawRect:(NSRect)dirtyRect {
5252
}
5353

5454
ExtensionFunction::ResponseAction
55-
NwCurrentWindowInternalSetBadgeLabelFunction::Run() {
55+
NwCurrentWindowInternalSetBadgeLabelInternalFunction::Run() {
5656
EXTENSION_FUNCTION_VALIDATE(args_);
5757
std::string badge;
5858
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &badge));
@@ -81,7 +81,7 @@ - (void)drawRect:(NSRect)dirtyRect {
8181
}
8282

8383
ExtensionFunction::ResponseAction
84-
NwCurrentWindowInternalSetProgressBarFunction::Run() {
84+
NwCurrentWindowInternalSetProgressBarInternalFunction::Run() {
8585
EXTENSION_FUNCTION_VALIDATE(args_);
8686
double progress;
8787
EXTENSION_FUNCTION_VALIDATE(args_->GetDouble(0, &progress));

0 commit comments

Comments
 (0)