Skip to content

Commit 4ba5f8a

Browse files
committed
Merge branch 'fix/ads-visibility' into 'master'
Oprava zobrazování reklam See merge request fmasa/wfrp-master!110
2 parents 5bd3371 + 4ce456e commit 4ba5f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/cz/muni/fi/rpg/ui/common/AdManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class AdManager(private val context: Context) {
4141
fun initializeUnit(view: AdView) {
4242
view.layoutParams = LinearLayout.LayoutParams(
4343
LinearLayout.LayoutParams.MATCH_PARENT,
44-
0
44+
AdSize.SMART_BANNER.getHeightInPixels(context)
4545
)
4646

4747
view.loadAd(

0 commit comments

Comments
 (0)