mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-25 15:11:52 -05:00
astyle
This commit is contained in:
parent
c06643bd47
commit
098851684f
@ -342,7 +342,8 @@ public class ChooseFolder extends K9ListActivity
|
||||
});
|
||||
mAdapter.setNotifyOnChange(false);
|
||||
int selectedFolder = -1;
|
||||
try {
|
||||
try
|
||||
{
|
||||
mAdapter.clear();
|
||||
int position = 0;
|
||||
for (String name : localFolders)
|
||||
@ -376,10 +377,14 @@ public class ChooseFolder extends K9ListActivity
|
||||
}
|
||||
position++;
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
finally
|
||||
{
|
||||
mAdapter.setNotifyOnChange(true);
|
||||
runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
runOnUiThread(new Runnable()
|
||||
{
|
||||
public void run()
|
||||
{
|
||||
// runOnUiThread(
|
||||
mAdapter.notifyDataSetChanged();
|
||||
}
|
||||
|
@ -31,7 +31,8 @@ public class ToggleScrollView extends ScrollView
|
||||
@Override
|
||||
public boolean onInterceptTouchEvent(MotionEvent ev)
|
||||
{
|
||||
if(!mScrolling) {
|
||||
if(!mScrolling)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -63,7 +64,8 @@ public class ToggleScrollView extends ScrollView
|
||||
{
|
||||
return false;
|
||||
}
|
||||
} catch (Exception e)
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user