From 1be7310c7369545799ddd220211c6859d86fa053 Mon Sep 17 00:00:00 2001 From: Rayyan <52076121+rlam20@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:13:51 -0400 Subject: [PATCH 1/2] address warning (fixes #3795) --- .../java/org/ole/planet/myplanet/ui/team/BaseTeamFragment.kt | 3 +++ 1 file changed, 3 insertions(+) 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 From 8b5fc4b99b970463ac1a0454d08ff6ef24b427ce Mon Sep 17 00:00:00 2001 From: dogi Date: Tue, 9 Jul 2024 13:41:13 -0400 Subject: [PATCH 2/2] Update build.gradle --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 965ab1eb33..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 1660 - versionName "0.16.60" + versionCode 1664 + versionName "0.16.64" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true