diff --git a/app/src/main/java/foundation/e/apps/MainActivityViewModel.kt b/app/src/main/java/foundation/e/apps/MainActivityViewModel.kt index 82d0ebd57ec45d98234f06603327b9702e7d5319..48ed8ce2f0235ff934d19ec7b73332c8301c3d28 100644 --- a/app/src/main/java/foundation/e/apps/MainActivityViewModel.kt +++ b/app/src/main/java/foundation/e/apps/MainActivityViewModel.kt @@ -233,7 +233,7 @@ class MainActivityViewModel @Inject constructor( authValidity.postValue(false) } - fun uploadFaultyTokenToEcloud(description: String){ + fun uploadFaultyTokenToEcloud(description: String) { viewModelScope.launch { authData.value?.let { authData -> val email: String = authData.run { diff --git a/app/src/main/java/foundation/e/apps/api/ecloud/EcloudApiInterface.kt b/app/src/main/java/foundation/e/apps/api/ecloud/EcloudApiInterface.kt index 9b02ef35c07fa562987b446f23144ba9a88457b0..763298e4036db1bd7b02ddc40e997c9d732438e3 100644 --- a/app/src/main/java/foundation/e/apps/api/ecloud/EcloudApiInterface.kt +++ b/app/src/main/java/foundation/e/apps/api/ecloud/EcloudApiInterface.kt @@ -33,5 +33,4 @@ interface EcloudApiInterface { @Body faultyToken: FaultyToken, @Header("Content-Type") contentType: String = "application/json", ) - -} \ No newline at end of file +} diff --git a/app/src/main/java/foundation/e/apps/api/ecloud/EcloudRepository.kt b/app/src/main/java/foundation/e/apps/api/ecloud/EcloudRepository.kt index a0dbd939e450edf1c630b7fef6a9075bc89b52e1..27fb20699e3e5d190fbd66a32a9d1bef4301c256 100644 --- a/app/src/main/java/foundation/e/apps/api/ecloud/EcloudRepository.kt +++ b/app/src/main/java/foundation/e/apps/api/ecloud/EcloudRepository.kt @@ -34,4 +34,4 @@ class EcloudRepository @Inject constructor( e.printStackTrace() } } -} \ No newline at end of file +} diff --git a/app/src/main/java/foundation/e/apps/api/ecloud/modules/FaultyToken.kt b/app/src/main/java/foundation/e/apps/api/ecloud/modules/FaultyToken.kt index 9e1efa0ec965bbc1415f7d97755e62acbd6b220b..29f596bfdeb051e05514ae8c98260e962bdb28c3 100644 --- a/app/src/main/java/foundation/e/apps/api/ecloud/modules/FaultyToken.kt +++ b/app/src/main/java/foundation/e/apps/api/ecloud/modules/FaultyToken.kt @@ -17,4 +17,4 @@ package foundation.e.apps.api.ecloud.modules -data class FaultyToken(val email: String, val description: String) \ No newline at end of file +data class FaultyToken(val email: String, val description: String) diff --git a/app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt b/app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt index 0f798fd8ead1cf5f495a705441328f817d4a1443..f610b5c3182027d14b2b57c21314c82569a5f963 100644 --- a/app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt +++ b/app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt @@ -186,7 +186,7 @@ class ApplicationListRVAdapter( holder: ViewHolder ) { installButton.visibility = View.VISIBLE - showMore.visibility = View.GONE + showMore.visibility = View.INVISIBLE when (searchApp.status) { Status.INSTALLED -> { handleInstalled(view, searchApp) @@ -213,7 +213,7 @@ class ApplicationListRVAdapter( } private fun ApplicationListItemBinding.setupShowMoreButton() { - installButton.visibility = View.GONE + installButton.visibility = View.INVISIBLE showMore.visibility = View.VISIBLE } diff --git a/app/src/main/res/layout/application_list_item.xml b/app/src/main/res/layout/application_list_item.xml index a9d60a107c1decbdedec4f5e23856c6a171a721e..921a9273f6672ee1633b6206df866525ea8d04ed 100644 --- a/app/src/main/res/layout/application_list_item.xml +++ b/app/src/main/res/layout/application_list_item.xml @@ -60,7 +60,7 @@ app:layout_constraintLeft_toRightOf="@+id/app_icon_card" app:layout_constraintRight_toLeftOf="@+id/installButton" app:layout_constraintTop_toTopOf="@+id/app_icon_card" - tools:text="App title" /> + tools:text="Google Chrome - Fast and Secured" />