Merge branch 'little-fixes' into 'master'

two little UI fixes for the 1.4 release

See merge request fdroid/fdroidclient!752
This commit is contained in:
Hans-Christoph Steiner 2018-09-12 12:18:18 +00:00
commit 4127e235e2
2 changed files with 7 additions and 6 deletions

View File

@ -265,10 +265,11 @@ public final class Utils {
"5.0", // 21
"5.1", // 22
"6.0", // 23
"7.0", // 24,
"7.1", // 25,
"8.0", // 26,
"7.0", // 24
"7.1", // 25
"8.0", // 26
"8.1", // 27
"9.0", // 28
};
public static String getAndroidVersionName(int sdkLevel) {

View File

@ -31,8 +31,8 @@ import android.util.DisplayMetrics;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.MimeTypeMap;
import android.view.ViewTreeObserver;
import android.webkit.MimeTypeMap;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
@ -543,11 +543,11 @@ public class AppDetailsRecyclerViewAdapter
sb.append("<ul>");
for (String af : app.antiFeatures) {
String afdesc = descAntiFeature(af);
sb.append("<li><a href=\"https://f-droid.org/wiki/page/Antifeature:")
sb.append("<li><div><a href=\"https://f-droid.org/wiki/page/Antifeature:")
.append(af)
.append("\">")
.append(afdesc)
.append("</a></li>");
.append("</a></div></li>");
}
sb.append("</ul>");
antiFeaturesView.setText(Html.fromHtml(sb.toString()));