mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 14:24:05 +01:00
Fix settings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
99f103a71e
commit
2022d07671
@ -15,8 +15,8 @@ android {
|
||||
targetSdkVersion 27
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 56
|
||||
versionName "3.0.0beta5"
|
||||
versionCode 57
|
||||
versionName "3.0.0beta6"
|
||||
|
||||
flavorDimensions "default"
|
||||
renderscriptTargetApi 19
|
||||
|
@ -59,6 +59,7 @@ import com.nextcloud.talk.utils.database.user.UserUtils;
|
||||
import com.nextcloud.talk.utils.glide.GlideApp;
|
||||
import com.nextcloud.talk.utils.preferences.AppPreferences;
|
||||
import com.nextcloud.talk.utils.preferences.MagicUserInputModule;
|
||||
import com.nextcloud.talk.utils.singletons.ApplicationWideApiHolder;
|
||||
import com.nextcloud.talk.utils.singletons.ApplicationWideMessageHolder;
|
||||
import com.yarolegovich.mp.MaterialChoicePreference;
|
||||
import com.yarolegovich.mp.MaterialEditTextPreference;
|
||||
@ -186,6 +187,7 @@ public class SettingsController extends BaseController {
|
||||
private void getCurrentUser() {
|
||||
currentUser = userUtils.getCurrentUser();
|
||||
credentials = ApiUtils.getCredentials(currentUser.getUserId(), currentUser.getToken());
|
||||
ncApi = ApplicationWideApiHolder.getInstance().getNcApiInstanceForAccountId(currentUser.getId(), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user