diff --git a/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt index 36028a0..03e9e62 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt @@ -134,6 +134,8 @@ class AppMenuAdapter( uiUtils.setAppSize(holder.textView, holder.editText) + uiUtils.setAppSpacing(holder.textView) + // Update the application information (allows updating apps to work) val appInfo = appUtils.getAppInfo( app.first.applicationInfo.packageName, @@ -165,8 +167,6 @@ class AppMenuAdapter( } else {holder.textView.text = appLabel} - uiUtils.setAppSpacing(holder.textView) - holder.textView.visibility = View.VISIBLE if (appInfo != null) { diff --git a/app/src/main/java/eu/ottop/yamlauncher/settings/GestureAppsAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/settings/GestureAppsAdapter.kt index bdd1df2..0f646ce 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/settings/GestureAppsAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/settings/GestureAppsAdapter.kt @@ -64,6 +64,8 @@ class GestureAppsAdapter( uiUtils.setAppSize(holder.textView) + uiUtils.setAppSpacing(holder.textView) + // Does not need to be specially updated since it's in a separate activity and thus reloads when opened again val appInfo = app.first.activityInfo.applicationInfo diff --git a/app/src/main/java/eu/ottop/yamlauncher/settings/HiddenAppsAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/settings/HiddenAppsAdapter.kt index 172daf8..9368f14 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/settings/HiddenAppsAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/settings/HiddenAppsAdapter.kt @@ -65,6 +65,8 @@ class HiddenAppsAdapter( uiUtils.setAppSize(holder.textView) + uiUtils.setAppSpacing(holder.textView) + // Separate activity from Main so does not need special update val appInfo = app.first.activityInfo.applicationInfo holder.textView.text = sharedPreferenceManager.getAppName( diff --git a/app/src/main/java/eu/ottop/yamlauncher/settings/LocationListAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/settings/LocationListAdapter.kt index 25db4e9..d1d7a55 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/settings/LocationListAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/settings/LocationListAdapter.kt @@ -55,6 +55,8 @@ class LocationListAdapter( uiUtils.setAppSize(holder.textView, null, holder.regionText) + uiUtils.setAppSpacing(holder.textView) + holder.textView.text = location["name"] holder.regionText.text = context.getString(R.string.region_text, location["region"], location["country"])