Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# RantStats Extension for Rumble.com

## 1.5.3

- Fix new options not being applied

## 1.5.2

- Fix dark text on red for subscriptions, gifts and raids
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rantstats-extension",
"version": "1.5.2",
"version": "1.5.3",
"packageManager": "yarn@4.6.0",
"description": "Add support for capturing paid Rumble Rants for Rumble.com livestreams.",
"main": "output/pages/content/content.js",
Expand Down
7 changes: 6 additions & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ export const getOptions = async (defaultValues: Options = undefined): Promise<Op
const returnData = await chrome.storage.local.get({
options,
})
return returnData.options as Options

return {
...defaultOptions,
...options,
...returnData.options,
}
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/components/rants/rants.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { getLastWidth, getSortOrder, setLastWidth } from "../../cache"
import { consoleLog } from "../../log"
import { triggerOpenOptionsPage } from "../events/events"
import { updateTheme } from "../../theme"
import { CONSTS } from "../../types/consts"
import { getVideoIdFromDiv } from "../../utils"
import { triggerOpenOptionsPage } from "../events/events"
import { disableChatButtons, enableChatButtons } from "../open-chat/chat-buttons"
import { startStream, stopStream } from "../rumble/stream"

import { setupForDisplayingCached } from "./cached-rants"
import { downloadCSV } from "./download"
import { clearDisplayedMessages } from "./rant"
import { setupForDisplayingCached } from "./cached-rants"

/**
* Helper for getting resizer HTML element
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "RantStats Extension for Rumble.com",
"version": "1.5.2",
"version": "1.5.3",
"description": "Add support for capturing paid Rumble Rants for Rumble.com livestreams.",
"icons": {
"16": "images/icon-16.png",
Expand Down
Loading