diff --git a/app/build.gradle b/app/build.gradle index f681b3144a..10a26fc456 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 21 targetSdkVersion 34 - versionCode 1663 - versionName "0.16.63" + versionCode 1664 + versionName "0.16.64" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/team/BaseTeamFragment.kt b/app/src/main/java/org/ole/planet/myplanet/ui/team/BaseTeamFragment.kt index 4d79015290..c9978aaa8e 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/team/BaseTeamFragment.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/team/BaseTeamFragment.kt @@ -2,7 +2,9 @@ package org.ole.planet.myplanet.ui.team import android.content.Context import android.content.SharedPreferences +import android.os.Build import android.os.Bundle +import androidx.annotation.RequiresApi import org.ole.planet.myplanet.base.BaseNewsFragment import org.ole.planet.myplanet.datamanager.DatabaseService import org.ole.planet.myplanet.model.RealmMyTeam @@ -10,6 +12,7 @@ import org.ole.planet.myplanet.model.RealmNews import org.ole.planet.myplanet.model.RealmUserModel import org.ole.planet.myplanet.utilities.Constants.PREFS_NAME +@RequiresApi(Build.VERSION_CODES.O) abstract class BaseTeamFragment : BaseNewsFragment() { lateinit var dbService: DatabaseService var user: RealmUserModel? = null