Skip to content

Commit a7d7a8e

Browse files
authored
Merge pull request #6 from CodeDead/feature/refactoring
feat: removed old icon, version bump
2 parents 3409267 + f80aa59 commit a7d7a8e

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
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 "com.codedead.advancedportchecker"
88
minSdk 28
99
targetSdk 34
10-
versionCode 13
11-
versionName '1.5.0'
10+
versionCode 14
11+
versionName '1.5.1'
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
vectorDrawables.useSupportLibrary = true
1414
}

app/src/main/java/com/codedead/advancedportchecker/gui/activity/ScanActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private void displayNotification() {
268268
final PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_IMMUTABLE);
269269

270270
final NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
271-
.setSmallIcon(R.drawable.ic_network_wifi_24dp)
271+
.setSmallIcon(R.drawable.ic_launcher_foreground)
272272
.setContentTitle(getString(R.string.app_name))
273273
.setContentText(getString(R.string.string_notification_scan_complete))
274274
.setContentIntent(pendingIntent)
@@ -330,7 +330,7 @@ private void startScan() {
330330
final NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
331331

332332
mBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
333-
.setSmallIcon(R.drawable.ic_network_wifi_24dp)
333+
.setSmallIcon(R.drawable.ic_launcher_foreground)
334334
.setContentTitle(getString(R.string.scan_progress))
335335
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
336336
.setOnlyAlertOnce(true)

app/src/main/res/drawable/ic_network_wifi_24dp.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)