Streamline UI updates and cleanup maintenance debt
This commit is contained in:
@@ -456,7 +456,11 @@ class ViewLogsFragment : Fragment(R.layout.fragment_view_logs) {
|
||||
|
||||
|
||||
private fun dp(value: Int): Int = (value * resources.displayMetrics.density).toInt()
|
||||
private fun sp(value: Float): Float = value * resources.displayMetrics.scaledDensity
|
||||
private fun sp(value: Float): Float = android.util.TypedValue.applyDimension(
|
||||
android.util.TypedValue.COMPLEX_UNIT_SP,
|
||||
value,
|
||||
resources.displayMetrics,
|
||||
)
|
||||
|
||||
private data class LogRow(val entry: NotificationLogEntry)
|
||||
private data class MetadataValue(
|
||||
|
||||
Reference in New Issue
Block a user