diff --git a/Habitica/build.gradle b/Habitica/build.gradle index 8be186bdd..7b9c30450 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -129,8 +129,8 @@ dependencies { implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1" implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1" implementation "androidx.lifecycle:lifecycle-common-java8:2.4.1" - implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1' - implementation 'androidx.navigation:navigation-ui-ktx:2.4.1' + implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2' + implementation 'androidx.navigation:navigation-ui-ktx:2.4.2' implementation "androidx.fragment:fragment-ktx:1.4.1" implementation "androidx.paging:paging-runtime-ktx:3.1.1" implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0' @@ -145,7 +145,7 @@ dependencies { attribute(Bundling.BUNDLING_ATTRIBUTE, getObjects().named(Bundling, Bundling.EXTERNAL)) } } - androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.6.10" + androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.6.20" } android { @@ -166,8 +166,8 @@ android { buildConfigField "String", "TESTING_LEVEL", "\"production\"" resConfigs 'en', 'bg', 'de', 'en-rGB', 'es', 'fr', 'hr-rHR', 'in', 'it', 'iw', 'ja', 'ko', 'lt', 'nl', 'pl', 'pt-rBR', 'pt-rPT', 'ru', 'tr', 'zh', 'zh-rTW' - versionCode 3274 - versionName "3.5.1.3" + versionCode 3300 + versionName "3.6" targetSdkVersion 32 @@ -179,7 +179,6 @@ android { viewBinding true } - signingConfigs { release } @@ -387,14 +386,6 @@ jacoco { toolVersion = "0.8.7" } -// packages to exclude for example generated classes, R class and models package, add all packages that you wish to exclude from test coverage -def fileFilter = [ - '**/*$ViewInjector*.*','**/*$ViewBinder*.*', '**/HabiticaIcons*.*', '**/DeviceName.*', '**/databinding/*Binding.*', - '**/R.class', '**/R.styleable', '**/R$*.class', '**/BuildConfig.*', '**/EmojiMap.*', - '**/Manifest*.*', 'android/**/*.*', '**/*RealmProxy*.*', '**/io/realm/*'] -def debugTree = fileTree(dir: "${buildDir}/intermediates/asm_instrumented_project_classes/prodDebug", excludes: fileFilter) -def mainSrc = "${project.projectDir}/src/main/java" - task ktlint(type: JavaExec, group: "verification") { description = "Check Kotlin code style." classpath = configurations.ktlint diff --git a/Habitica/res/drawable/ad_button_background.xml b/Habitica/res/drawable/ad_button_background.xml new file mode 100644 index 000000000..70e52471b --- /dev/null +++ b/Habitica/res/drawable/ad_button_background.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/ad_button_background_disabled.xml b/Habitica/res/drawable/ad_button_background_disabled.xml new file mode 100644 index 000000000..144721661 --- /dev/null +++ b/Habitica/res/drawable/ad_button_background_disabled.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/border_1f000000.xml b/Habitica/res/drawable/border_1f000000.xml index b2336280b..7329bc223 100644 --- a/Habitica/res/drawable/border_1f000000.xml +++ b/Habitica/res/drawable/border_1f000000.xml @@ -1,10 +1,8 @@ - - diff --git a/Habitica/res/layout/activity_armoire.xml b/Habitica/res/layout/activity_armoire.xml index 6467cb8fb..e6867e5ce 100644 --- a/Habitica/res/layout/activity_armoire.xml +++ b/Habitica/res/layout/activity_armoire.xml @@ -69,7 +69,8 @@ android:background="@drawable/armoire_background" android:orientation="vertical" android:gravity="center" - android:padding="12dp"> + android:paddingHorizontal="12dp" + android:paddingTop="24dp"> - + style="@style/HabiticaButton.White" + android:layout_marginEnd="12dp"/>