Bugfixes
This commit is contained in:
parent
1f22426dec
commit
854cfac28c
@ -5,6 +5,7 @@ import android.app.Activity
|
|||||||
import android.location.Address
|
import android.location.Address
|
||||||
import android.location.Geocoder
|
import android.location.Geocoder
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
|
import android.util.Log
|
||||||
import com.tommasoberlose.anotherwidget.R
|
import com.tommasoberlose.anotherwidget.R
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
|
@ -401,7 +401,7 @@ class LeftAlignedWidget(val context: Context) {
|
|||||||
bindingView.weatherDateLine.isVisible = true
|
bindingView.weatherDateLine.isVisible = true
|
||||||
val currentTemp = String.format(
|
val currentTemp = String.format(
|
||||||
Locale.getDefault(),
|
Locale.getDefault(),
|
||||||
"%d °%s",
|
"%d°%s",
|
||||||
Preferences.weatherTemp.roundToInt(),
|
Preferences.weatherTemp.roundToInt(),
|
||||||
Preferences.weatherRealTempUnit
|
Preferences.weatherRealTempUnit
|
||||||
)
|
)
|
||||||
|
@ -421,7 +421,7 @@ class StandardWidget(val context: Context) {
|
|||||||
bindingView.weatherDateLine.isVisible = true
|
bindingView.weatherDateLine.isVisible = true
|
||||||
val currentTemp = String.format(
|
val currentTemp = String.format(
|
||||||
Locale.getDefault(),
|
Locale.getDefault(),
|
||||||
"%d °%s",
|
"%d°%s",
|
||||||
Preferences.weatherTemp.roundToInt(),
|
Preferences.weatherTemp.roundToInt(),
|
||||||
Preferences.weatherRealTempUnit
|
Preferences.weatherRealTempUnit
|
||||||
)
|
)
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:paddingStart="16dp"
|
android:paddingStart="16dp"
|
||||||
android:focusable="true"
|
|
||||||
android:clickable="true"
|
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:textColor="@color/colorPrimaryText"
|
android:textColor="@color/colorPrimaryText"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user