This commit is contained in:
NudeDude 2018-02-14 22:41:17 +01:00
parent f63b7988dc
commit 2421956202
3 changed files with 9 additions and 0 deletions

View File

@ -122,6 +122,9 @@ public class MainPage extends AsyncTask<Integer, Void, Integer> {
case FAIL:
default:
timelineRefresh.setRefreshing(false);
trendRefresh.setRefreshing(false);
mentionRefresh.setRefreshing(false);
Toast.makeText(context, context.getString(R.string.connection_failure), Toast.LENGTH_LONG).show();
}
}

View File

@ -203,6 +203,8 @@ public class ProfileAction extends AsyncTask<Long,Void,Long>
else if(mode == FAILURE)
{
Toast.makeText(context,"Fehler beim Laden des Profils",Toast.LENGTH_LONG).show();
tweetsReload.setRefreshing(false);
favoritsReload.setRefreshing(false);
}
if(!isHome) {
if(isFollowing)

View File

@ -14,4 +14,8 @@ allprojects {
jcenter()
flatDir{ dirs 'libs'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}