Просмотр исходного кода

Changes due to CR

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 7 лет назад
Родитель
Сommit
d99fde53b1

+ 2 - 2
src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java

@@ -36,7 +36,6 @@ import android.view.ViewGroup;
 import android.widget.Button;
 import android.widget.ImageView;
 import android.widget.LinearLayout;
-import android.widget.RelativeLayout;
 import android.widget.TextView;
 
 import com.bumptech.glide.GenericRequestBuilder;
@@ -128,7 +127,8 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
             Button button = new Button(notificationsActivity);
             button.setText(action.label);
             if (action.primary) {
-                button.getBackground().setColorFilter(ThemeUtils.primaryColor(notificationsActivity, true), PorterDuff.Mode.SRC_ATOP);
+                button.getBackground().setColorFilter(ThemeUtils.primaryColor(notificationsActivity, true),
+                        PorterDuff.Mode.SRC_ATOP);
                 button.setTextColor(ThemeUtils.fontColor(notificationsActivity));
             }
 

+ 0 - 1
src/main/res/layout/notification_list_item.xml

@@ -22,7 +22,6 @@
 
 <RelativeLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
-    android:id="@+id/notification_layout"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:orientation="horizontal"