Skip to content

Commit a7e74c4

Browse files
committed
fix action bar padding
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 31c9b00 commit a7e74c4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ class NotificationListAdapter(
180180
holder.binding.buttons.run {
181181
removeAllViews()
182182
setVisibleIf(actions.isNotEmpty())
183-
if (actions.isEmpty()) return
183+
}
184+
185+
if (actions.isEmpty()) {
186+
return
184187
}
185188

186189
val params = buttonLayoutParams()

app/src/main/res/layout/notifications_layout.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<FrameLayout
1919
android:layout_width="match_parent"
2020
android:layout_height="match_parent"
21-
android:layout_marginTop="@dimen/action_bar_margin_top"
2221
android:layout_below="@id/appbar"
2322
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2423

0 commit comments

Comments
 (0)