Some fixes
This commit is contained in:
parent
9f25405983
commit
3697917d2b
|
@ -189,7 +189,7 @@ public class PeertubeActivity extends AppCompatActivity {
|
||||||
String userId = sharedpreferences.getString(Helper.PREF_KEY_ID, null);
|
String userId = sharedpreferences.getString(Helper.PREF_KEY_ID, null);
|
||||||
String instance = Helper.getLiveInstance(PeertubeActivity.this);
|
String instance = Helper.getLiveInstance(PeertubeActivity.this);
|
||||||
Account account = new AccountDAO(PeertubeActivity.this, db).getUniqAccount(userId, instance);
|
Account account = new AccountDAO(PeertubeActivity.this, db).getUniqAccount(userId, instance);
|
||||||
Helper.loadGiF(PeertubeActivity.this, account.getAvatar()!=null?account.getAvatar().getPath():null, my_pp);
|
Helper.loadGiF(PeertubeActivity.this, account!=null&&account.getAvatar()!=null?account.getAvatar().getPath():null, my_pp);
|
||||||
|
|
||||||
|
|
||||||
if (Helper.isTablet(PeertubeActivity.this)) {
|
if (Helper.isTablet(PeertubeActivity.this)) {
|
||||||
|
|
Loading…
Reference in New Issue