bump android build number to 28

This commit is contained in:
Satindar Dhillon
2023-03-01 11:28:03 -08:00
parent 8c7a2b6768
commit c7860a8d74
2 changed files with 5 additions and 3 deletions

View File

@ -17,8 +17,8 @@ android {
applicationId "app.omnivore.omnivore"
minSdk 26
targetSdk 33
versionCode 27
versionName "0.0.27"
versionCode 28
versionName "0.0.28"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@ -51,6 +51,9 @@ class LibraryViewModel @Inject constructor(
if (hasLoadedInitialFilters) { return }
hasLoadedInitialFilters = false
// TODO: Fetch all labels
runBlocking {
datastoreRepo.getString(DatastoreKeys.lastUsedSavedItemFilter)?.let { str ->
try {
@ -152,7 +155,6 @@ class LibraryViewModel @Inject constructor(
}
suspend fun handleFilterChanges() {
librarySearchCursor = null
if (searchTextLiveData.value != "") {
performSearch(true)
} else if (appliedSortFilterLiveData.value != null && appliedFilterLiveData.value != null) {