mirror of
https://github.com/lone-cloud/prism-android
synced 2026-06-03 19:54:44 -07:00
Use distrib 0.3.0
This commit is contained in:
parent
123c29fb69
commit
5b05b4308d
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ fun getRegistrationListState(context: Context): RegistrationListState {
|
|||
fun getRegistrationState(context: Context, db: Database, token: String): RegistrationState? {
|
||||
val app = db.getAppFromCoToken(token) ?: return null
|
||||
val ai = context.appInfoForMetadata(app.packageName)
|
||||
val title = context.getApplicationName(ai) ?: app.packageName
|
||||
val title = ai?.let { context.getApplicationName(it) } ?: app.packageName
|
||||
val icon = context.getApplicationIcon(app.packageName)
|
||||
val description = if (title == app.packageName) {
|
||||
""
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ androidx-lifecycle = "2.8.7"
|
|||
androidx-runtimeAndroid = "1.7.7"
|
||||
androidx-work = "2.10.0"
|
||||
appcompat = "1.7.0"
|
||||
unifiedpush_distributor = "0.2.2"
|
||||
unifiedpush_distributor_ui = "0.2.0"
|
||||
unifiedpush_distributor = "0.3.0"
|
||||
unifiedpush_distributor_ui = "0.3.0"
|
||||
kotlin = "2.1.0"
|
||||
kotlinx_serializationJson = "1.8.0"
|
||||
ktlint = "12.1.2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue