mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix font and upgrade version
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
KeepassDX (2.5.0.0beta16)
|
||||
* Fix font and search
|
||||
|
||||
KeepassDX (2.5.0.0beta16)
|
||||
* New search in a single fragment
|
||||
* Search suggestions
|
||||
|
||||
@@ -8,8 +8,8 @@ android {
|
||||
applicationId "com.kunzisoft.keepass"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 27
|
||||
versionCode = 16
|
||||
versionName = "2.5.0.0beta16"
|
||||
versionCode = 17
|
||||
versionName = "2.5.0.0beta17"
|
||||
multiDexEnabled true
|
||||
|
||||
testApplicationId = "com.kunzisoft.keepass.tests"
|
||||
|
||||
@@ -27,6 +27,7 @@ import android.support.v7.util.SortedList;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.support.v7.widget.util.SortedListAdapterCallback;
|
||||
import android.util.Log;
|
||||
import android.util.TypedValue;
|
||||
import android.view.ContextMenu;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuInflater;
|
||||
@@ -128,7 +129,7 @@ public class NodeAdapter extends RecyclerView.Adapter<BasicViewHolder> {
|
||||
private void assignPreferences() {
|
||||
float textSizeDefault = Util.getListTextDefaultSize(context);
|
||||
this.textSize = PreferencesUtil.getListTextSize(context);
|
||||
this.subtextSize = context.getResources().getDimension(R.dimen.list_small_size_default)
|
||||
this.subtextSize = context.getResources().getInteger(R.integer.list_small_size_default)
|
||||
* textSize / textSizeDefault;
|
||||
// Retrieve the icon size
|
||||
float iconDefaultSize = context.getResources().getDimension(R.dimen.list_icon_size_default);
|
||||
|
||||
@@ -70,10 +70,7 @@ public class PreferencesUtil {
|
||||
String listSize = prefs.getString(ctx.getString(R.string.list_size_key), defaultSizeString);
|
||||
if (!Arrays.asList(ctx.getResources().getStringArray(R.array.list_size_values)).contains(listSize))
|
||||
listSize = defaultSizeString;
|
||||
return TypedValue.applyDimension(
|
||||
TypedValue.COMPLEX_UNIT_SP,
|
||||
Float.parseFloat(listSize),
|
||||
ctx.getResources().getDisplayMetrics());
|
||||
return Float.parseFloat(listSize);
|
||||
}
|
||||
|
||||
public static int getDefaultPasswordLength(Context ctx) {
|
||||
|
||||
@@ -78,10 +78,7 @@ public class Util {
|
||||
}
|
||||
|
||||
public static float getListTextDefaultSize(Context context) {
|
||||
return TypedValue.applyDimension(
|
||||
TypedValue.COMPLEX_UNIT_SP,
|
||||
(Float.parseFloat(context.getString(R.string.list_size_default))),
|
||||
context.getResources().getDisplayMetrics());
|
||||
return Float.parseFloat(context.getString(R.string.list_size_default));
|
||||
}
|
||||
|
||||
public static void lockScreenOrientation(Activity activity) {
|
||||
|
||||
@@ -160,12 +160,12 @@
|
||||
</string-array>
|
||||
|
||||
<dimen name="list_icon_size_default" translatable="false">32dp</dimen>
|
||||
<dimen name="list_small_size_default" translatable="false">9sp</dimen>
|
||||
<string name="list_size_default" translatable="false">11</string>
|
||||
<integer name="list_small_size_default" translatable="false">13</integer>
|
||||
<string name="list_size_default" translatable="false">16</string>
|
||||
<string-array name="list_size_values">
|
||||
<item translatable="false">9</item>
|
||||
<item translatable="false">@string/list_size_default</item>
|
||||
<item translatable="false">14</item>
|
||||
<item translatable="false">@string/list_size_default</item>
|
||||
<item translatable="false">22</item>
|
||||
</string-array>
|
||||
|
||||
<string name="list_style_name_light" translatable="false">KeepassDXStyle_Light</string>
|
||||
|
||||
6
fastlane/metadata/android/en-US/changelogs/17.txt
Normal file
6
fastlane/metadata/android/en-US/changelogs/17.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
* New search in a single fragment
|
||||
* Search suggestions
|
||||
* Added the display of usernames
|
||||
* Added translations
|
||||
* Fix read-only mode
|
||||
* Fix parcelable / toolbar / back / font
|
||||
6
fastlane/metadata/android/fr-FR/changelogs/17.txt
Normal file
6
fastlane/metadata/android/fr-FR/changelogs/17.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
* Nouvelle recherche dans un seul fragment
|
||||
* Suggestions de recherche
|
||||
* Ajout de l'affichage des noms d'utilisateurs
|
||||
* Ajout de traductions
|
||||
* Correction du mode lecture seule
|
||||
* Correction de parcelable / barre de navigation / retour / police
|
||||
Reference in New Issue
Block a user