Merge branch 'next_release' into 'master'

Next release

See merge request pixeldroid/PixelDroid!270
This commit is contained in:
Matthieu 2020-12-20 14:38:08 +01:00
commit 7d78b03ff2
4 changed files with 9 additions and 5 deletions

View File

@ -24,8 +24,8 @@ android {
applicationId "com.h.pixeldroid"
minSdkVersion 23
targetSdkVersion 30
versionCode 6
versionName "1.0.alpha5"
versionCode 7
versionName "1.0.alpha6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'

View File

@ -20,7 +20,7 @@ import com.h.pixeldroid.objects.Notification
PublicFeedStatusDatabaseEntity::class,
Notification::class
],
version = 1
version = 2
)
@TypeConverters(Converters::class)
abstract class AppDatabase : RoomDatabase() {

View File

@ -16,6 +16,9 @@ class DatabaseModule(private val context: Context) {
return Room.databaseBuilder(
context,
AppDatabase::class.java, "pixeldroid"
).allowMainThreadQueries().build()
).allowMainThreadQueries()
//TODO remove this for 1.0 release
.fallbackToDestructiveMigration()
.build()
}
}

View File

@ -4,7 +4,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fadeScrollbars="false">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"