chg: Change name to Hiddify

This commit is contained in:
Hiddify
2024-02-10 11:39:37 +01:00
parent a820f4d43e
commit 927e080899
37 changed files with 361 additions and 76 deletions

View File

@@ -24,7 +24,7 @@
android:name=".Application"
android:banner="@mipmap/ic_launcher_banner"
android:icon="@mipmap/ic_launcher"
android:label="Hiddify Next"
android:label="Hiddify"
android:roundIcon="@mipmap/ic_launcher_round"
tools:targetApi="31">

View File

@@ -51,7 +51,7 @@ class ServiceNotification(private val status: MutableLiveData<Status>, private v
NotificationCompat.Builder(service, notificationChannel)
.setShowWhen(false)
.setOngoing(true)
.setContentTitle("Hiddify Next")
.setContentTitle("Hiddify")
.setOnlyAlertOnce(true)
.setSmallIcon(R.drawable.ic_stat_logo)
.setCategory(NotificationCompat.CATEGORY_SERVICE)
@@ -90,7 +90,7 @@ class ServiceNotification(private val status: MutableLiveData<Status>, private v
}
service.startForeground(
notificationId, notificationBuilder
.setContentTitle(profileName.takeIf { it.isNotBlank() } ?: "Hiddify Next")
.setContentTitle(profileName.takeIf { it.isNotBlank() } ?: "Hiddify")
.setContentText(service.getString(contentTextId)).build()
)
}