forked from mirrors/Fedilab
		
	Fix Friendica connection issue
This commit is contained in:
		
							parent
							
								
									071bf82bc7
								
							
						
					
					
						commit
						5d2c83fab3
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1060,7 +1060,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
 | 
				
			||||||
            if (statusDraft.visibility == null) {
 | 
					            if (statusDraft.visibility == null) {
 | 
				
			||||||
                if (position > 0) {
 | 
					                if (position > 0) {
 | 
				
			||||||
                    statusDraft.visibility = statusList.get(position - 1).visibility;
 | 
					                    statusDraft.visibility = statusList.get(position - 1).visibility;
 | 
				
			||||||
                } else if (BaseMainActivity.accountWeakReference.get().mastodon_account != null) {
 | 
					                } else if (BaseMainActivity.accountWeakReference.get().mastodon_account != null && BaseMainActivity.accountWeakReference.get().mastodon_account.source != null) {
 | 
				
			||||||
                    statusDraft.visibility = BaseMainActivity.accountWeakReference.get().mastodon_account.source.privacy;
 | 
					                    statusDraft.visibility = BaseMainActivity.accountWeakReference.get().mastodon_account.source.privacy;
 | 
				
			||||||
                } else {
 | 
					                } else {
 | 
				
			||||||
                    statusDraft.visibility = "public";
 | 
					                    statusDraft.visibility = "public";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -656,7 +656,7 @@ public class TimelinesVM extends AndroidViewModel {
 | 
				
			||||||
                    if (getMarkerResponse.isSuccessful()) {
 | 
					                    if (getMarkerResponse.isSuccessful()) {
 | 
				
			||||||
                        marker = getMarkerResponse.body();
 | 
					                        marker = getMarkerResponse.body();
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                } catch (IOException e) {
 | 
					                } catch (Exception e) {
 | 
				
			||||||
                    e.printStackTrace();
 | 
					                    e.printStackTrace();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue