diff --git a/app/src/main/res/drawable/ic_header_log.xml b/app/src/main/res/drawable/ic_header_log.xml index 6ef0e68d81..41d3979612 100644 --- a/app/src/main/res/drawable/ic_header_log.xml +++ b/app/src/main/res/drawable/ic_header_log.xml @@ -10,7 +10,7 @@ android:scaleX="0.8" android:scaleY="0.8"> \ No newline at end of file diff --git a/core/src/main/java/info/nightscout/androidaps/utils/alertDialogs/AlertDialogHelper.kt b/core/src/main/java/info/nightscout/androidaps/utils/alertDialogs/AlertDialogHelper.kt index 3fdca2f89c..fc21bce7ce 100644 --- a/core/src/main/java/info/nightscout/androidaps/utils/alertDialogs/AlertDialogHelper.kt +++ b/core/src/main/java/info/nightscout/androidaps/utils/alertDialogs/AlertDialogHelper.kt @@ -8,7 +8,6 @@ import android.widget.TextView import androidx.annotation.DrawableRes import androidx.annotation.LayoutRes import androidx.annotation.StyleRes -import androidx.appcompat.app.AlertDialog import androidx.appcompat.view.ContextThemeWrapper import com.google.android.material.dialog.MaterialAlertDialogBuilder import info.nightscout.androidaps.core.R @@ -22,7 +21,7 @@ object AlertDialogHelper { fun buildCustomTitle(context: Context, title: String, @DrawableRes iconResource: Int = R.drawable.ic_check_while_48dp, @StyleRes themeResId: Int = R.style.AppTheme, - @LayoutRes layoutResource: Int = R.layout.dialog_alert_custom): View? { + @LayoutRes layoutResource: Int = R.layout.dialog_alert_custom_title): View? { val titleLayout = LayoutInflater.from(ContextThemeWrapper(context, themeResId)).inflate(layoutResource, null) (titleLayout.findViewById(R.id.alertdialog_title) as TextView).text = title (titleLayout.findViewById(R.id.alertdialog_icon) as ImageView).setImageResource(iconResource) diff --git a/core/src/main/res/drawable/ic_check_while_48dp.xml b/core/src/main/res/drawable/ic_check_while_48dp.xml index 2c136685ec..0b0cb247f3 100644 --- a/core/src/main/res/drawable/ic_check_while_48dp.xml +++ b/core/src/main/res/drawable/ic_check_while_48dp.xml @@ -1,5 +1,6 @@ - + diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index 4cc2b76c9e..654d8b53aa 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -205,7 +205,7 @@