Fix: Fixed string formatting for numbers in a few places
Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
@@ -89,7 +89,7 @@ class AppInfoBottomSheetFragment(private val appInfo: AppInfo) : BottomSheetDial
|
||||
bottomSheetLock.text =
|
||||
getString(if (!appInfo.lock) R.string.bottom_dialog_add_to_lock else R.string.bottom_dialog_remove_to_unlock)
|
||||
bottomSheetRename.setText(appInfo.appName)
|
||||
bottomSheetOrder.text = appInfo.appOrder.toString()
|
||||
bottomSheetOrder.text = "${appInfo.appOrder}"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ class PaddingBottomSheetDialogFragment : BottomSheetDialogFragment() {
|
||||
private fun initView() {
|
||||
bottomDialogHelper.setupDialogStyle(dialog)
|
||||
|
||||
binding.selectAppPaddingSize.setText(preferenceHelper.homeAppPadding.toString())
|
||||
binding.selectAppPaddingSize.setText("${preferenceHelper.homeAppPadding}")
|
||||
}
|
||||
|
||||
private fun observeValueChange() {
|
||||
|
||||
@@ -53,10 +53,10 @@ class TextBottomSheetDialogFragment : BottomSheetDialogFragment() {
|
||||
private fun initView() {
|
||||
bottomDialogHelper.setupDialogStyle(dialog)
|
||||
|
||||
binding.selectDateTextSize.setText(preferenceHelper.dateTextSize.toString())
|
||||
binding.selectTimeTextSize.setText(preferenceHelper.timeTextSize.toString())
|
||||
binding.selectAppTextSize.setText(preferenceHelper.appTextSize.toString())
|
||||
binding.selectBatteryTextSize.setText(preferenceHelper.batteryTextSize.toString())
|
||||
binding.selectDateTextSize.setText("${preferenceHelper.dateTextSize}")
|
||||
binding.selectTimeTextSize.setText("${preferenceHelper.timeTextSize}")
|
||||
binding.selectAppTextSize.setText("${preferenceHelper.appTextSize}")
|
||||
binding.selectBatteryTextSize.setText("${preferenceHelper.batteryTextSize}")
|
||||
}
|
||||
|
||||
private fun observeValueChange() {
|
||||
|
||||
Reference in New Issue
Block a user