Skip to content

Commit

Permalink
Merge pull request #6 from CodeDead/feature/refactoring
Browse files Browse the repository at this point in the history
feat: removed old icon, version bump
  • Loading branch information
CodeDead authored Dec 9, 2023
2 parents 3409267 + f80aa59 commit a7d7a8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.codedead.advancedportchecker"
minSdk 28
targetSdk 34
versionCode 13
versionName '1.5.0'
versionCode 14
versionName '1.5.1'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private void displayNotification() {
final PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_IMMUTABLE);

final NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
.setSmallIcon(R.drawable.ic_network_wifi_24dp)
.setSmallIcon(R.drawable.ic_launcher_foreground)
.setContentTitle(getString(R.string.app_name))
.setContentText(getString(R.string.string_notification_scan_complete))
.setContentIntent(pendingIntent)
Expand Down Expand Up @@ -330,7 +330,7 @@ private void startScan() {
final NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);

mBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
.setSmallIcon(R.drawable.ic_network_wifi_24dp)
.setSmallIcon(R.drawable.ic_launcher_foreground)
.setContentTitle(getString(R.string.scan_progress))
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
.setOnlyAlertOnce(true)
Expand Down
14 changes: 0 additions & 14 deletions app/src/main/res/drawable/ic_network_wifi_24dp.xml

This file was deleted.

0 comments on commit a7d7a8e

Please sign in to comment.