mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-29 13:00:17 +02:00
fix: manage friend list
This commit is contained in:
parent
f53e2db68d
commit
006bf6dbf0
@ -57,10 +57,6 @@ class ManageFriendList : AbstractAction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onActivityCreate() {
|
override fun onActivityCreate() {
|
||||||
context.runOnUiThread {
|
|
||||||
context.actionManager.execute(EnumAction.MANAGE_FRIEND_LIST)
|
|
||||||
}
|
|
||||||
|
|
||||||
context.event.subscribe(ActivityResultEvent::class) { event ->
|
context.event.subscribe(ActivityResultEvent::class) { event ->
|
||||||
if (event.requestCode == pendingPickerAction?.first) {
|
if (event.requestCode == pendingPickerAction?.first) {
|
||||||
val pendingAction = pendingPickerAction ?: return@subscribe
|
val pendingAction = pendingPickerAction ?: return@subscribe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user