Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbef16ae authored by Hasib Prince's avatar Hasib Prince
Browse files

fixed UI title segment of app detail page

parent 0dbe5925
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1391,11 +1391,12 @@ class FusedAPIImpl @Inject constructor(
    }

    private fun FusedApp.updateSource() {
        this.source =
            if (this.origin == Origin.CLEANAPK && this.is_pwa) context.getString(R.string.pwa)
            else if (this.origin == Origin.CLEANAPK) context.getString(R.string.open_source)
        this.apply {
            source = if (origin == Origin.CLEANAPK && is_pwa) context.getString(R.string.pwa)
            else if (origin == Origin.CLEANAPK) context.getString(R.string.open_source)
            else ""
        }
    }

    private fun MutableList<Artwork>.transformToList(): List<String> {
        val list = mutableListOf<String>()
+4 −0
Original line number Diff line number Diff line
@@ -181,6 +181,10 @@ class ApplicationFragment : TimeoutFragment(R.layout.fragment_application) {
        if (applicationViewModel.appStatus.value == null) {
            applicationViewModel.appStatus.value = it.status
        }

        if (it.other_images_path.isEmpty()) {
            binding.recyclerView.visibility = View.GONE
        }
        screenshotsRVAdapter.setData(it.other_images_path)

        // Title widgets
+4 −2
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="10dp"
        android:layout_marginTop="10dp"
        android:layout_marginStart="10dp"
        android:layout_marginEnd="10dp"
        android:orientation="horizontal">

        <androidx.cardview.widget.CardView
@@ -76,7 +78,7 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="end"
        android:layout_marginTop="10dp"
        android:layout_marginTop="15dp"
        android:layout_marginBottom="1dp"
        android:background="@color/colorBackground"
        android:backgroundTint="@color/colorBackground">