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..a7ce487c88 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
@@ -242,6 +242,15 @@ class TeamFragment : Fragment(), AdapterTeamList.OnClickTeamItem {
}
fragmentTeamBinding.rvTeamList.adapter = adapterTeamList
listContentDescription(conditionApplied)
+ if (list.isEmpty()) {
+ fragmentTeamBinding.etSearch.visibility = View.GONE
+ fragmentTeamBinding.tableTitle.visibility = View.GONE
+ fragmentTeamBinding.tvMessage.visibility = View.VISIBLE
+ } else {
+ fragmentTeamBinding.etSearch.visibility = View.VISIBLE
+ fragmentTeamBinding.tableTitle.visibility = View.VISIBLE
+ fragmentTeamBinding.tvMessage.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..02cf1e109b 100644
--- a/app/src/main/res/layout/fragment_team.xml
+++ b/app/src/main/res/layout/fragment_team.xml
@@ -97,7 +97,13 @@
android:layout_weight="1" />
-
+
جارٍ فحص الخادم
إصدار Apk أقل من المسموح. يرجى تحديث التطبيق إلى أحدث إصدار.
إضافة ملاحظة (اختياري)
+ الفرق غير متوفرة
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index cb2b404ed3..66f2ca605a 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -1045,5 +1045,6 @@
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
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index dcea61b2ce..906075dd4a 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -1045,5 +1045,6 @@
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
diff --git a/app/src/main/res/values-ne/strings.xml b/app/src/main/res/values-ne/strings.xml
index 6ddc1d7164..0d9aab821e 100644
--- a/app/src/main/res/values-ne/strings.xml
+++ b/app/src/main/res/values-ne/strings.xml
@@ -1045,5 +1045,6 @@
सर्भर जाँच गर्दै
एप संस्करण अनुमत संस्करणभन्दा कम छ। कृपया अनुप्रयोगलाई नवीनतम संस्करणमा अद्यावधिक गर्नुहोस्।
नोट थप्नुहोस् (वैकल्पिक)
+ टोलीहरू उपलब्ध छैनन्
diff --git a/app/src/main/res/values-so/strings.xml b/app/src/main/res/values-so/strings.xml
index 69f95a14e5..ed47d2e95b 100644
--- a/app/src/main/res/values-so/strings.xml
+++ b/app/src/main/res/values-so/strings.xml
@@ -1045,5 +1045,6 @@
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
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 28cf04b755..fbd612e19c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1019,6 +1019,7 @@
no join request available
news not available
surveys not available
+ teams not available
edit profile image
first name required
last name is required