Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
5AbhishekSaxena committed Jan 27, 2024
2 parents 02ad797 + 2f0a1ce commit e9b65e2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
namespace 'com.abhishek.germanPocketDictionary'
compileSdkVersion 33
compileSdk 34

signingConfigs {
release {
Expand All @@ -26,9 +26,9 @@ android {
defaultConfig {
applicationId "com.abhishek.germanPocketDictionary"
minSdk 21
targetSdkVersion 32
versionCode 15
versionName '2.0.2'
targetSdkVersion 34
versionCode 16
versionName '2.1.0'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

//Defining Log debugging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,9 @@ fun WordsPagerWithTabs(
val coroutineScope = rememberCoroutineScope()

val pages by remember {
val wordTypes = arrayOf(
WordType.ALL_WORDS,
WordType.NOUNS,
WordType.VERBS,
WordType.COLORS,
WordType.QUESTIONS,
WordType.OPPOSITE,
)

mutableStateOf(wordTypes)
mutableStateOf(WordType.values())
}

LaunchedEffect(key1 = pagerState) {
snapshotFlow { pagerState.currentPage }.collect { page ->
onPageChange(pages[page])
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.android.tools.build:gradle:8.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20"
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.43.2'
classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktlintPluginVersion"
Expand Down
7 changes: 4 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

applicationName=German Pocket Dictionary
applicationName=German Pocket Dictionary
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Sep 05 03:22:29 IST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit e9b65e2

Please sign in to comment.