tweak: don't redo adapter once the last download finishes

This commit is contained in:
Eric House 2014-06-06 05:31:08 -07:00
parent c184d68976
commit 93446a1760

View file

@ -160,11 +160,11 @@ public class DwnldDelegate extends ListDelegateBase {
callListener( m_uri, false );
}
m_views.remove( m_listItem );
mkListAdapter();
if ( 0 == m_views.size() ) {
if ( 1 >= m_views.size() ) {
finish();
} else {
m_views.remove( m_listItem );
mkListAdapter();
}
}