id start at 1
DreamingCodes committed
Jul 29, 2024 at 15:04 UTC
9df9a9ef2062d325785ebfd998f335841fa42bd3
1 file changed
+1
-1
guest-js/ads/common.ts
+1
-1
@@ -2,7 +2,7 @@ import {invoke} from '@tauri-apps/api/core'
2
3
export class MobileAd<T extends MobileAdOptions = MobileAdOptions> {
4
private static allAdds: { [s: number]: MobileAd } = {};
5
- private static idCounter = 0;
5
+ private static idCounter = 1;
6
7
public readonly id: number;
8