From 40509520521e8ebd5f4204e667934f6679d7e9a0 Mon Sep 17 00:00:00 2001 From: Jon Carifio Date: Tue, 8 Aug 2023 00:30:49 -0400 Subject: [PATCH] Update version information. --- app/build.gradle | 4 ++-- app/src/main/java/dnd/jon/spellbook/GlobalInfo.java | 4 ++-- app/src/main/java/dnd/jon/spellbook/MainActivity.java | 4 ++-- app/src/main/res/values-pt/strings.xml | 2 ++ app/src/main/res/values/strings.xml | 2 ++ 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 66251684..093c4550 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,8 +15,8 @@ android { applicationId "dnd.jon.spellbook" minSdkVersion 24 targetSdkVersion 33 - versionCode 300101 - versionName "3.1.1" + versionCode 300200 + versionName "3.2.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" signingConfig signingConfigs.release } diff --git a/app/src/main/java/dnd/jon/spellbook/GlobalInfo.java b/app/src/main/java/dnd/jon/spellbook/GlobalInfo.java index 00b04d40..06c72197 100644 --- a/app/src/main/java/dnd/jon/spellbook/GlobalInfo.java +++ b/app/src/main/java/dnd/jon/spellbook/GlobalInfo.java @@ -2,13 +2,13 @@ class GlobalInfo { - static final Version VERSION = new Version(3,1,1); + static final Version VERSION = new Version(3,2,0); static final String VERSION_CODE = VERSION.string(); // We don't always want to show an update message // i.e. for updates that are pure bugfixes, the old message may be // more useful to users - static final Version UPDATE_LOG_VERSION = new Version(3,1,0); + static final Version UPDATE_LOG_VERSION = new Version(3,2,0); static final String UPDATE_LOG_CODE = UPDATE_LOG_VERSION.string(); static final int ANDROID_VERSION = android.os.Build.VERSION.SDK_INT; diff --git a/app/src/main/java/dnd/jon/spellbook/MainActivity.java b/app/src/main/java/dnd/jon/spellbook/MainActivity.java index b3802235..df05ee25 100755 --- a/app/src/main/java/dnd/jon/spellbook/MainActivity.java +++ b/app/src/main/java/dnd/jon/spellbook/MainActivity.java @@ -1254,8 +1254,8 @@ private void showUpdateDialog(boolean checkIfNecessary) { final boolean noCharacters = (characterNames == null) || characterNames.size() <= 0; final boolean toShow = !checkIfNecessary || !(prefs.contains(key) || noCharacters); if (toShow) { - final int titleID = string.update_03_01_00_title; - final int descriptionID = string.update_03_01_00_description; + final int titleID = string.update_03_02_00_title; + final int descriptionID = string.update_03_02_00_description; final Runnable onDismissAction = () -> { final SharedPreferences.Editor editor = prefs.edit(); editor.putBoolean(key, true).apply(); diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 0ffc2ca4..580efc9f 100755 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -395,6 +395,8 @@ O livro de feitiços foi atualizado para incluir o feitiço do Guia do Mestre da Guilda para Ravnica.\n\nUm erro no conteúdo de Parede de Luz foi corrigido. Atualização da versão 3.1 Esta atualização adiciona a capacidade de alterar o idioma dos feitiços (atualmente inglês e português estão disponíveis). + Atualização da versão 3.2 + Esta atualização adiciona a capacidade de mover o botão circular de espaços de feitiço.\n\nAlém disso, esta atualização corrige um bug em que o tamanho da caixa de diálogo impossibilitava a edição do número de espaços de feitiço de 3º, 6º e 9º níveis. Renomear diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 984d3eef..c06f5881 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -396,6 +396,8 @@ The spellbook has been updated to include the spell from the Guildmaster\'s Guide to Ravnica.\n\nA mistake in the content of Wall of Light has been corrected. Version 3.1 update This update adds the ability to change the language of spells (currently English and Portuguese are available). + Version 3.2 update + This update adds the ability to move the circular spell slots button.\n\nAdditionally, this update fixes a bug where the size of the dialog made it impossible to edit the number of 3rd, 6th, and 9th level spell slots. Rename