mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-21 13:53:01 +01:00
import starRating in state.js
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
This commit is contained in:
1 file changed
+2
@@ -8,6 +8,7 @@ import {
|
||||
getColorFromTheme,
|
||||
} from "./utils";
|
||||
import { localize } from "./utils";
|
||||
import { createStarRating } from "./starRating";
|
||||
|
||||
//TODO: Do not duplicate here and in ryd.background.js
|
||||
const apiUrl = "https://returnyoutubedislikeapi.com";
|
||||
@@ -199,6 +200,7 @@ function processResponse(response, storedData) {
|
||||
getDislikeButton().style.color = getColorFromTheme(false);
|
||||
}
|
||||
}
|
||||
createStarRating(response.rating, isMobile());
|
||||
}
|
||||
|
||||
// Tells the user if the API is down
|
||||
|
||||
Reference in new issue
Block a user