Filter out the embedded eSIM profiles because we don't need them

This commit is contained in:
Peter Cai 2022-04-30 16:52:27 -04:00
parent df46ed883b
commit 5f326c8e70

View file

@ -69,7 +69,7 @@ class EuiccManagementFragment : Fragment(), EuiccFragmentMarker, EuiccProfilesCh
}
withContext(Dispatchers.Main) {
adapter.profiles = profiles
adapter.profiles = profiles.filter { it["PROFILE_CLASS"] != "0" }
adapter.notifyDataSetChanged()
binding.swipeRefresh.isRefreshing = false
}