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:
commit
4127e235e2
@ -265,10 +265,11 @@ public final class Utils {
|
|||||||
"5.0", // 21
|
"5.0", // 21
|
||||||
"5.1", // 22
|
"5.1", // 22
|
||||||
"6.0", // 23
|
"6.0", // 23
|
||||||
"7.0", // 24,
|
"7.0", // 24
|
||||||
"7.1", // 25,
|
"7.1", // 25
|
||||||
"8.0", // 26,
|
"8.0", // 26
|
||||||
"8.1", // 27
|
"8.1", // 27
|
||||||
|
"9.0", // 28
|
||||||
};
|
};
|
||||||
|
|
||||||
public static String getAndroidVersionName(int sdkLevel) {
|
public static String getAndroidVersionName(int sdkLevel) {
|
||||||
|
@ -31,8 +31,8 @@ import android.util.DisplayMetrics;
|
|||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.webkit.MimeTypeMap;
|
|
||||||
import android.view.ViewTreeObserver;
|
import android.view.ViewTreeObserver;
|
||||||
|
import android.webkit.MimeTypeMap;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
@ -543,11 +543,11 @@ public class AppDetailsRecyclerViewAdapter
|
|||||||
sb.append("<ul>");
|
sb.append("<ul>");
|
||||||
for (String af : app.antiFeatures) {
|
for (String af : app.antiFeatures) {
|
||||||
String afdesc = descAntiFeature(af);
|
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(af)
|
||||||
.append("\">")
|
.append("\">")
|
||||||
.append(afdesc)
|
.append(afdesc)
|
||||||
.append("</a></li>");
|
.append("</a></div></li>");
|
||||||
}
|
}
|
||||||
sb.append("</ul>");
|
sb.append("</ul>");
|
||||||
antiFeaturesView.setText(Html.fromHtml(sb.toString()));
|
antiFeaturesView.setText(Html.fromHtml(sb.toString()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user