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

Commit d4db1e85 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '000-s-fixes' into 'v1-s'

BlissLauncher bug fixes

See merge request e/os/BlissLauncher3!13
parents 6d718d45 7bcc1ad5
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginHorizontal="@dimen/widget_page_all_padding"
    android:layout_marginVertical="@dimen/widget_page_all_padding"
    android:layout_marginVertical="@dimen/widget_page_top_bottom_padding"
    android:paddingTop="@dimen/widget_page_all_padding"
    app:blurCornerRadius="15dp">

@@ -22,7 +22,7 @@
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingHorizontal="8dp"
            android:paddingTop="4dp"
            android:paddingBottom="@dimen/widget_page_inset_padding"
            android:text="@string/suggestions" />

        <FrameLayout
+1 −0
Original line number Diff line number Diff line
@@ -4,4 +4,5 @@
    <dimen name="grid_folder_footer_height">32dp</dimen>
    <dimen name="widget_page_inset_padding">10dp</dimen>
    <dimen name="widget_page_all_padding">4dp</dimen>
    <dimen name="widget_page_top_bottom_padding">6dp</dimen>
</resources>
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -19,7 +19,8 @@ class BlissAppWidgetHost(val context: Context) : AppWidgetHost(context, WIDGET_H

    fun createView(widgetId: Int, widgetInfo: AppWidgetProviderInfo): AppWidgetHostView {
        return createView(context, widgetId, widgetInfo).apply {
            val widgetPadding = resources.getDimensionPixelSize(R.dimen.widget_page_all_padding)
            val widgetPadding =
                resources.getDimensionPixelSize(R.dimen.widget_page_top_bottom_padding)
            setPaddingRelative(8, widgetPadding, 8, widgetPadding)
        }
    }