DashPluginsFragment indentation fix
This commit is contained in:
parent
bdeadb0f8c
commit
cce3a39b42
1 changed files with 9 additions and 9 deletions
|
@ -35,12 +35,12 @@ public class DashPluginsFragment extends DashBaseFragment {
|
|||
|
||||
private View.OnClickListener getListener(final OsmandPlugin plugin) {
|
||||
return new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(plugin.getInstallURL())));
|
||||
closeDashboard();
|
||||
}
|
||||
};
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(plugin.getInstallURL())));
|
||||
closeDashboard();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private final View.OnClickListener pluginDetailsListener(final OsmandPlugin plugin) {
|
||||
|
@ -85,7 +85,7 @@ public class DashPluginsFragment extends DashBaseFragment {
|
|||
|
||||
|
||||
private void addPluginsToLimit(Iterator<OsmandPlugin> it, int l) {
|
||||
while(plugins.size() < l && it.hasNext()) {
|
||||
while (plugins.size() < l && it.hasNext()) {
|
||||
OsmandPlugin plugin = it.next();
|
||||
if (plugin instanceof OsmandDevelopmentPlugin) {
|
||||
continue;
|
||||
|
@ -124,7 +124,7 @@ public class DashPluginsFragment extends DashBaseFragment {
|
|||
logoView.setBackgroundResource(R.drawable.bg_plugin_logo_enabled);
|
||||
} else {
|
||||
TypedArray attributes = getActivity().getTheme().obtainStyledAttributes(
|
||||
new int[] { R.attr.bg_plugin_logo_disabled });
|
||||
new int[]{R.attr.bg_plugin_logo_disabled});
|
||||
logoView.setBackgroundDrawable(attributes.getDrawable(0));
|
||||
attributes.recycle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue