Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cee3b66d authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Omit attribution icon in medium FastTrack.

parent 2db67f79
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -53,19 +53,4 @@

    </LinearLayout>

    <ImageView
        android:id="@+id/source_divider"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="1dip"
        android:src="@drawable/quickcontact_frame_divider_med" />

    <ImageView
        android:id="@+id/source"
        android:layout_width="30dip"
        android:layout_height="30dip"
        android:layout_marginLeft="13dip"
        android:layout_marginRight="16dip"
        android:scaleType="centerInside" />

</LinearLayout>
+0 −11
Original line number Diff line number Diff line
@@ -320,7 +320,6 @@ public class QuickContactWindow implements Window.Callback,
        setHeaderText(R.id.timestamp, null);

        setHeaderImage(R.id.presence, null);
        setHeaderImage(R.id.source, null);

        resetTrack();

@@ -1149,16 +1148,6 @@ public class QuickContactWindow implements Window.Callback,
            // Update status when valid was found
            setHeaderText(R.id.status, status.getStatus());
            setHeaderText(R.id.timestamp, status.getTimestampLabel(mContext));

            final Drawable icon = status.getIcon(mContext);
            setHeaderImage(R.id.source, icon);

            if (mMode == QuickContact.MODE_MEDIUM) {
                // Hide medium divider when missing icon
                final boolean validIcon = icon != null;
                mHeader.findViewById(R.id.source_divider).setVisibility(
                        validIcon ? View.VISIBLE : View.GONE);
            }
        }

        // Turn our list of actions into UI elements, starting with common types