Commit ce804bd
committed
Refactor: Adjust interstitial ad frequency in PostDetailScreen
- Changed the random condition for showing interstitial ads from `Random.nextInt(3) == 1` to `Random.nextInt(5) == 1`.
This reduces the likelihood of an interstitial ad appearing on the post detail screen.1 parent b220bda commit ce804bd
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- feature/post/src/commonMain/kotlin/me/matsumo/fanbox/feature/post/detail
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments