Files
arcanechat-android/res
Hocuri 4c0d03772d Better profile and group picture selection by using attachment selector (#1837)
fix #1836

AvatarSelector is mostly copied from AttachmentTypeSelector. I first started to make it a subclass, but there were so many functions that had to be changed that I decided against it (esp. also the constructor, so I would have had to create another constructor to allow AvatarSelector to bypass the "normal" constructor). Could still be done though, of course.

I think (hope joy) that the commits are clear enough that this can be reviewed commit-by-commit. In the first commit, commenting out code means "Moved somewhere else"

I found it easier to look at the first commit using gitk than GitHub as GitHub doesn't show it as copied from AttachmentTypeSelector but as a new file. (of course you can also just review normally, going throug it file-by-file :)

* Don't show remove button if there is no image yet

* Remove unnecessary animation that just made things look worse

* Delete now-unused ClearProfileAvatarActivity

* For groups, also use the attachment-chooser-dialog

* Remove confirmation dialog for removing avatar (The user has to confirm anyway, and this was not correctly translated)
2021-03-16 11:58:44 +01:00
..
2020-08-17 15:26:34 +02:00
2021-03-14 15:28:23 +01:00
2020-09-25 01:36:30 +00:00
2020-09-25 01:36:30 +00:00
2020-09-25 01:36:30 +00:00
2020-09-25 01:36:30 +00:00
2020-09-25 01:36:30 +00:00
2020-09-25 01:36:30 +00:00
2019-05-20 18:10:01 +02:00
2021-03-14 15:28:23 +01:00
2020-12-22 13:55:58 +01:00
2020-10-15 21:22:36 +02:00
2020-12-22 13:55:58 +01:00
2021-02-07 20:35:35 +01:00
2020-12-22 13:55:58 +01:00
2021-01-30 23:34:14 +01:00
2020-12-22 13:55:58 +01:00
2021-01-30 23:34:14 +01:00
2020-12-22 13:55:58 +01:00
2020-12-22 13:55:58 +01:00
2021-01-28 23:10:19 +01:00
2021-02-20 13:19:09 +01:00
2020-12-22 13:55:58 +01:00
2020-12-22 13:55:58 +01:00
2020-12-22 13:55:58 +01:00
2021-01-30 23:34:14 +01:00
2021-01-22 22:40:38 +01:00
2020-10-15 21:22:36 +02:00
2020-12-22 13:55:58 +01:00
2020-10-15 21:22:36 +02:00
2021-03-05 13:46:35 +01:00
2020-12-22 13:55:58 +01:00
2020-12-22 13:22:05 +01:00
2020-12-22 13:22:05 +01:00