I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 62035050 authored by str4d's avatar str4d
Browse files

Padding tweak, prevent status headings flicker when opening app

parent 6775d57c
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ public class MainFragment extends I2PFragmentBase {
}
private void updateOneShot() {
_handler.postDelayed(_oneShotUpdate, 100);
_handler.postDelayed(_oneShotUpdate, 10);
}
private class OneShotUpdate implements Runnable {
......@@ -401,6 +401,7 @@ public class MainFragment extends I2PFragmentBase {
// Client or server
ImageView type = new ImageView(getActivity());
type.setPadding(6, 6, 6, 6);
if (ctx.clientManager().shouldPublishLeaseSet(h))
type.setImageDrawable(getActivity().getResources()
.getDrawable(R.drawable.server));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment