File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { AppSettings , BudgetSettings , PopupState } from "./types" ;
22
33/** Update these 2 variables to alert the user for a major new update/version */
4- export const LATEST_VERSION_ALERT_NUM = 4 ;
5- export const LATEST_VERSION_ALERT_TEXT = "New: Detail views !" ;
4+ export const LATEST_VERSION_ALERT_NUM = 5 ;
5+ export const LATEST_VERSION_ALERT_TEXT = "New: Approve transactions !" ;
66
77export const IS_DEV = import . meta. env . DEV && ! import . meta. env . VITEST ;
88export const IS_PRODUCTION = import . meta. env . PROD ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const currentAlertsStorage = storage.defineItem<CurrentAlerts>(
1717export const versionAlertStorage = storage . defineItem < number > (
1818 `sync:${ STORAGE_KEYS . VersionAlert } ` ,
1919 {
20+ init : ( ) => LATEST_VERSION_ALERT_NUM ,
2021 fallback : LATEST_VERSION_ALERT_NUM ,
2122 version : 2 ,
2223 migrations : {
You can’t perform that action at this time.
0 commit comments