mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-27 02:59:23 +03:00
linter corrections and added line to changes
This commit is contained in:
parent
f1ba8b96c9
commit
1db2d05ee4
2 changed files with 2 additions and 4 deletions
|
@ -5,7 +5,7 @@ Features ✨:
|
||||||
-
|
-
|
||||||
|
|
||||||
Improvements 🙌:
|
Improvements 🙌:
|
||||||
-
|
- Priority conversations for Android 11+ (#2734)
|
||||||
|
|
||||||
Bugfix 🐛:
|
Bugfix 🐛:
|
||||||
- Message states cosmetic changes (#3007)
|
- Message states cosmetic changes (#3007)
|
||||||
|
|
|
@ -324,7 +324,6 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
|
||||||
.setKey(event.senderId)
|
.setKey(event.senderId)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||||
val openRoomIntent = RoomDetailActivity.shortcutIntent(context, roomId)
|
val openRoomIntent = RoomDetailActivity.shortcutIntent(context, roomId)
|
||||||
|
|
||||||
|
@ -332,8 +331,7 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
|
||||||
.setLongLived(true)
|
.setLongLived(true)
|
||||||
.setIntent(openRoomIntent)
|
.setIntent(openRoomIntent)
|
||||||
.setShortLabel(roomName)
|
.setShortLabel(roomName)
|
||||||
.setIcon(largeBitmap?.let{IconCompat.createWithAdaptiveBitmap(it)}?: iconLoader.getUserIcon(event.senderAvatarPath))
|
.setIcon(largeBitmap?.let { IconCompat.createWithAdaptiveBitmap(it) } ?: iconLoader.getUserIcon(event.senderAvatarPath))
|
||||||
.setCategories()
|
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
ShortcutManagerCompat.pushDynamicShortcut(context, shortcut)
|
ShortcutManagerCompat.pushDynamicShortcut(context, shortcut)
|
||||||
|
|
Loading…
Add table
Reference in a new issue