mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Remove waiting message if last sync timestamp exists
This commit is contained in:
parent
2a20a800fb
commit
321eaafe93
1 changed files with 3 additions and 2 deletions
|
|
@ -27,8 +27,6 @@ import fr.free.nrw.commons.SettingsActivity;
|
|||
|
||||
public class ContributionsListFragment extends Fragment {
|
||||
|
||||
|
||||
|
||||
public interface SourceRefresher {
|
||||
void refreshSource();
|
||||
}
|
||||
|
|
@ -55,8 +53,11 @@ public class ContributionsListFragment extends Fragment {
|
|||
|
||||
SharedPreferences prefs = this.getActivity().getSharedPreferences("prefs", Context.MODE_PRIVATE);
|
||||
String lastModified = prefs.getString("lastSyncTimestamp", "");
|
||||
Log.d("Commons", "Last Sync Timestamp: " + lastModified);
|
||||
|
||||
if (lastModified.equals("")) {
|
||||
waitingMessage.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
}
|
||||
|
||||
return v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue