Skip to content

Commit 2326007

Browse files
authored
Merge pull request #47 from ZafraniTechLLC/remove-round-icon
Removed old android round icon
2 parents 8e09c43 + 87c8377 commit 2326007

24 files changed

+3
-27
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "tech.zafrani.companionforpubg"
88
minSdkVersion 18
99
targetSdkVersion 25
10-
versionCode 3
11-
versionName "0.0.3"
10+
versionCode 4
11+
versionName "0.0.4"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1313
}
1414

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
android:allowBackup="true"
1515
android:icon="@drawable/logo"
1616
android:label="@string/app_name"
17-
android:roundIcon="@mipmap/ic_launcher_round"
17+
android:roundIcon="@drawable/logo"
1818
android:supportsRtl="true"
1919
android:theme="@style/AppTheme">
2020
<activity android:name="tech.zafrani.companionforpubg.activities.MainActivity">

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/AmmunitionViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ private void setItemCapacity(@Nullable final float itemCapacity) {
5252
private void setItemIcon(final String itemImage,@NonNull final String category) {
5353
if (itemImage != null) {
5454
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
55-
}else {
56-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
57-
5855
}
5956
}
6057

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/AttachmentsViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ private void setItemReload(final float itemReload) {
108108
private void setItemIcon(final String itemImage,@NonNull final String category) {
109109
if (itemImage != null) {
110110
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
111-
}else {
112-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
113-
114111
}
115112
}
116113

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/ConsumablesViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ private void setItemCapacity(@Nullable final float itemCapacity) {
9898
private void setItemIcon(final String itemImage, String category) {
9999
if (itemImage != null) {
100100
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
101-
}else {
102-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
103-
104101
}
105102
}
106103

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/EquipmentViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ private void setItemProtection(@Nullable final float itemProtection) {
6464
private void setItemIcon(final String itemImage,@NonNull final String category) {
6565
if (itemImage != null) {
6666
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
67-
}else {
68-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
69-
7067
}
7168
}
7269

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/VehicleViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ private void setItemSeats(@Nullable final float itemSeats) {
8181
private void setItemIcon(final String itemImage,@NonNull final String category) {
8282
if (itemImage != null) {
8383
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
84-
}else {
85-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
86-
8784
}
8885
}
8986

app/src/main/java/tech/zafrani/companionforpubg/adapters/viewholders/WeaponsViewHolder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ private void setItemReload(@Nullable final float itemReload) {
118118
private void setItemIcon(final String itemImage,@NonNull final String category) {
119119
if (itemImage != null) {
120120
Picasso.with(itemView.getContext()).load(Constants.ITEM_IMAGE_URL + category + "/" + itemImage + ARG_RAW).into(imageImageView);
121-
}else {
122-
Picasso.with(itemView.getContext()).load(R.mipmap.ic_launcher).into(imageImageView);
123-
124121
}
125122
}
126123

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
android:id="@+id/row_item_icon"
1616
android:layout_width="0dp"
1717
android:layout_height="wrap_content"
18-
android:src="@mipmap/ic_launcher"
1918
android:layout_weight="0.2"/>
2019
<LinearLayout
2120
android:orientation="vertical"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
android:id="@+id/row_item_icon"
1616
android:layout_width="0dp"
1717
android:layout_height="wrap_content"
18-
android:src="@mipmap/ic_launcher"
1918
android:layout_weight="0.2"/>
2019
<LinearLayout
2120
android:orientation="vertical"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
android:id="@+id/row_item_icon"
1616
android:layout_width="0dp"
1717
android:layout_height="wrap_content"
18-
android:src="@mipmap/ic_launcher"
1918
android:layout_weight="0.2"/>
2019
<LinearLayout
2120
android:orientation="vertical"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
android:id="@+id/row_item_icon"
1616
android:layout_width="0dp"
1717
android:layout_height="wrap_content"
18-
android:src="@mipmap/ic_launcher"
1918
android:layout_weight="0.2"/>
2019
<LinearLayout
2120
android:orientation="vertical"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
android:id="@+id/row_item_icon"
1616
android:layout_width="0dp"
1717
android:layout_height="wrap_content"
18-
android:src="@mipmap/ic_launcher"
1918
android:layout_weight="0.2"/>
2019
<LinearLayout
2120
android:orientation="vertical"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
android:id="@+id/row_item_icon"
1515
android:layout_width="0dp"
1616
android:layout_height="wrap_content"
17-
android:src="@mipmap/ic_launcher"
1817
android:layout_weight="0.2"/>
1918
<LinearLayout
2019
android:orientation="vertical"
-3.34 KB
Binary file not shown.
Binary file not shown.
-2.15 KB
Binary file not shown.
Binary file not shown.
-4.73 KB
Binary file not shown.
Binary file not shown.
-7.54 KB
Binary file not shown.
Binary file not shown.
-10.2 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)