diff --git a/app/build.gradle b/app/build.gradle
index bf08b29d85..39c736ec40 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
- versionCode 1646
- versionName "0.16.46"
+ versionCode 1647
+ versionName "0.16.47"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
diff --git a/app/src/main/java/org/ole/planet/myplanet/base/BaseRecyclerFragment.kt b/app/src/main/java/org/ole/planet/myplanet/base/BaseRecyclerFragment.kt
index c6039dd106..cfb2abc90a 100644
--- a/app/src/main/java/org/ole/planet/myplanet/base/BaseRecyclerFragment.kt
+++ b/app/src/main/java/org/ole/planet/myplanet/base/BaseRecyclerFragment.kt
@@ -296,6 +296,7 @@ abstract class BaseRecyclerFragment
: BaseRecyclerParentFragment(), On
"discussions" -> (v as TextView).setText(R.string.no_news)
"survey" -> (v as TextView).setText(R.string.no_surveys)
"submission" -> (v as TextView).setText(R.string.no_submissions)
+ "teams" -> (v as TextView).setText(R.string.no_teams)
"chatHistory" -> (v as TextView).setText(R.string.no_chats)
else -> (v as TextView).setText(R.string.no_data_available_please_check_and_try_again)
}
diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/team/TeamFragment.kt b/app/src/main/java/org/ole/planet/myplanet/ui/team/TeamFragment.kt
index e14ba5c943..4a4443ff8b 100644
--- a/app/src/main/java/org/ole/planet/myplanet/ui/team/TeamFragment.kt
+++ b/app/src/main/java/org/ole/planet/myplanet/ui/team/TeamFragment.kt
@@ -11,6 +11,7 @@ import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
+import org.ole.planet.myplanet.base.BaseRecyclerFragment.Companion.showNoData
import io.realm.Case
import io.realm.Realm
import io.realm.RealmQuery
@@ -242,6 +243,12 @@ class TeamFragment : Fragment(), AdapterTeamList.OnClickTeamItem {
}
fragmentTeamBinding.rvTeamList.adapter = adapterTeamList
listContentDescription(conditionApplied)
+ val itemCount = adapterTeamList?.itemCount
+ showNoData(fragmentTeamBinding.tvMessage, itemCount, "teams")
+ if (itemCount == 0) {
+ fragmentTeamBinding.etSearch.visibility = View.GONE
+ fragmentTeamBinding.tableTitle.visibility = View.GONE
+ }
}
override fun onEditTeam(team: RealmMyTeam?) {
diff --git a/app/src/main/res/layout/fragment_team.xml b/app/src/main/res/layout/fragment_team.xml
index d3a3a36750..44913a6185 100644
--- a/app/src/main/res/layout/fragment_team.xml
+++ b/app/src/main/res/layout/fragment_team.xml
@@ -97,7 +97,12 @@
android:layout_weight="1" />
-
+
جارٍ فحص الخادم
إصدار Apk أقل من المسموح. يرجى تحديث التطبيق إلى أحدث إصدار.
إضافة ملاحظة (اختياري)
+ الفرق غير متوفرة
كوكب %s
التقديمات غير متاحة
لا توجد محادثات سابقة
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index ebcda27391..e113de955d 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -1046,6 +1046,7 @@
verificando el servidor
la versión de la aplicación está por debajo de la permitida. Actualice la aplicación a la última versión.
Agregar una nota (opcional)
+ equipos no disponibles
%s Planeta
envíos no disponibles
no hay chats anteriores
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 9c41b60a23..44c2fe74f3 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -1046,6 +1046,7 @@
vérification du serveur
la version de l\'app est inférieure à celle autorisée. veuillez mettre à jour l\'application vers la dernière version.
Ajouter une note (optionnel)
+ équipes non disponibles
%s planète
soumissions non disponibles
aucune discussion précédente
diff --git a/app/src/main/res/values-ne/strings.xml b/app/src/main/res/values-ne/strings.xml
index 6795dd2fa4..4afa29909d 100644
--- a/app/src/main/res/values-ne/strings.xml
+++ b/app/src/main/res/values-ne/strings.xml
@@ -1046,6 +1046,7 @@
सर्भर जाँच गर्दै
एप संस्करण अनुमत संस्करणभन्दा कम छ। कृपया अनुप्रयोगलाई नवीनतम संस्करणमा अद्यावधिक गर्नुहोस्।
नोट थप्नुहोस् (वैकल्पिक)
+ टोलीहरू उपलब्ध छैनन्
%s ग्रह
पेशाहरू उपलब्ध छैनन्
अघिल्ला कुराकानीहरू छैनन्
diff --git a/app/src/main/res/values-so/strings.xml b/app/src/main/res/values-so/strings.xml
index 379bd4d1f9..5a31b31005 100644
--- a/app/src/main/res/values-so/strings.xml
+++ b/app/src/main/res/values-so/strings.xml
@@ -1046,6 +1046,7 @@
hubinta server-ka
nooca app-ga waa ka hooseeyaa kan la oggol yahay. fadlan cusbooneysii app-ka nooca ugu dambeeya.
Ku dar falanqeey (ixtiyaacsi ah)
+ kooxaha aan la heli karin
%s Meerah
soo gudbin lama heli karo
ma jiraan wada sheekaysi hore
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 045423963f..7844aec845 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1046,6 +1046,7 @@
checking server
app is below allowed version. please update the app to the latest version.
add a note (optional)
+ teams not available
%s\'s Planet
submissions not available
no previous chats