Skip to content

Commit 11aa336

Browse files
committed
Update
1 parent 68462b7 commit 11aa336

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/omarea/common/ui/BannerNotificationManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ object BannerNotificationManager {
128128

129129
when (req.position) {
130130
BannerPosition.TOP -> toast.setGravity(
131-
Gravity.TOP or Gravity.CENTER_HORIZONTAL, 0, (80 * density).toInt()
131+
Gravity.TOP or Gravity.CENTER_HORIZONTAL, 0, (40 * density).toInt()
132132
)
133133
BannerPosition.BOTTOM -> toast.setGravity(
134-
Gravity.BOTTOM or Gravity.CENTER_HORIZONTAL, 0, (110 * density).toInt()
134+
Gravity.BOTTOM or Gravity.CENTER_HORIZONTAL, 0, (50 * density).toInt()
135135
)
136136
}
137137
toast.show()

0 commit comments

Comments
 (0)