mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-10-30 14:17:55 +00:00
More fixes for tips
This commit is contained in:
@@ -352,10 +352,11 @@
|
||||
"show_tips_on_startup": "Show tips on startup notification",
|
||||
"show_tips_frequency": "How often to show tips when price checking",
|
||||
"tip_frequency_1": "Always",
|
||||
"tip_frequency_2": "Normal",
|
||||
"tip_frequency_3": "Rarely",
|
||||
"tip_frequency_4": "Very Rarely",
|
||||
"tip_frequency_5": "Never",
|
||||
"tip_frequency_2": "Often",
|
||||
"tip_frequency_3": "Normal",
|
||||
"tip_frequency_4": "Rarely",
|
||||
"tip_frequency_5": "Very Rarely",
|
||||
"tip_frequency_6": "Never",
|
||||
"tips_header": "Cycle Through All Tips:",
|
||||
"tip_number_header": "Tip #{0}"
|
||||
},
|
||||
|
||||
@@ -109,7 +109,7 @@ import { useLeagues } from "@/web/background/Leagues";
|
||||
import { randomTip, TIP_FREQUENCY_MAP } from "../help/tips";
|
||||
|
||||
let _showSupportLinksCounter = 0;
|
||||
let _showTipCounter = 0;
|
||||
let _showTipCounter = 15;
|
||||
|
||||
export default defineComponent({
|
||||
name: "CheckedItem",
|
||||
@@ -343,7 +343,9 @@ export default defineComponent({
|
||||
showSupportLinks.value = false;
|
||||
if (
|
||||
AppConfig().tipsFrequency !== TipsFrequency.Never &&
|
||||
_showTipCounter >= TIP_FREQUENCY_MAP[AppConfig().tipsFrequency] &&
|
||||
(AppConfig().tipsFrequency === TipsFrequency.Always ||
|
||||
_showTipCounter >=
|
||||
TIP_FREQUENCY_MAP[AppConfig().tipsFrequency]) &&
|
||||
!cInteracted
|
||||
) {
|
||||
_showTipCounter = 0;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<option :value="3">{{ t(":tip_frequency_3") }}</option>
|
||||
<option :value="4">{{ t(":tip_frequency_4") }}</option>
|
||||
<option :value="5">{{ t(":tip_frequency_5") }}</option>
|
||||
<option :value="6">{{ t(":tip_frequency_6") }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user