mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Fix cut-off profile picture options.
This commit is contained in:
committed by
jeffrey-signal
parent
7aca5f77f6
commit
51e6ae8f03
@@ -93,6 +93,8 @@ class AvatarPickerFragment : Fragment(R.layout.avatar_picker_fragment) {
|
||||
adapter.submitList(items) {
|
||||
if (selectedPosition > -1) {
|
||||
recycler.smoothScrollToPosition(selectedPosition)
|
||||
} else {
|
||||
recycler.smoothScrollToPosition(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user