nextcloud: try to set display-name as well
Description
With the introduction of moshi in commit a15d2b02 alternate fields were ignored a15d2b02 to be specific this line moshi doesnt supports alternate name so here we bind alternate variable
for groups our library is quite old and official library supports it already https://github.com/nextcloud/android-library/blob/master/src/main/java/com/owncloud/android/lib/common/UserInfo.kt so its just a backport to know in what group a user is (its used to determine the premium/free plan he/she has)
Issue(s)
eDrive!80 (closed) (required for this merge request)
Test environment
Build with patch and ensure widget works as expected with this patch and name is set correct
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation
Edited by Abhishek Aggarwal