Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tagavari committed Sep 14, 2021
2 parents 96b606f + ba35845 commit d4ddcca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ android {
applicationId "me.tagavari.airmessage"
minSdkVersion 23
targetSdkVersion 31
versionName "3.3.2"
versionCode 126
versionName "3.3.3"
versionCode 127

resConfigs "en", "fr", "ja"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public void onCreate(Bundle savedInstanceState) {
layoutParams.rightMargin = insets.right;
} else {
//Simply applying padding to the entire root view
rootView.setPadding(rootView.getPaddingLeft(), rootView.getPaddingTop(), rootView.getPaddingRight(), insets.bottom);
rootView.setPadding(rootView.getPaddingLeft(), rootView.getPaddingTop(), rootView.getPaddingRight(), windowInsets.getInsets(WindowInsetsCompat.Type.ime()).bottom);
}

return windowInsets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ object NotificationHelper {
@JvmStatic
fun getNotification(notificationManager: NotificationManager, tag: String?, id: Int): Notification? {
return notificationManager.activeNotifications
.firstOrNull { notification: StatusBarNotification -> notification.tag == tag && notification.id == id }
?.firstOrNull { notification: StatusBarNotification -> notification.tag == tag && notification.id == id }
?.notification
}

Expand Down

0 comments on commit d4ddcca

Please sign in to comment.