Revert "id start at 1"
This reverts commit 9df9a9ef2062d325785ebfd998f335841fa42bd3.
DreamingCodes committed
Jul 29, 2024 at 16:28 UTC
9b7c3fe8762e85513cf781aac400707636f427ac
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 = 1;
5
+ private static idCounter = 0;
6
7
public readonly id: number;
8