mirror of
https://github.com/markusfisch/BinaryEye.git
synced 2024-09-20 03:52:16 +02:00
Fix some minor style issues
This commit is contained in:
parent
c838486ca1
commit
f4d625a048
@ -77,7 +77,8 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
fun getDecodeIntent(
|
||||
context: Context, text: String,
|
||||
context: Context,
|
||||
text: String,
|
||||
format: BarcodeFormat
|
||||
): Intent {
|
||||
val intent = Intent(context, MainActivity::class.java)
|
||||
|
@ -118,7 +118,7 @@ class EncodeFragment : Fragment() {
|
||||
|
||||
private fun updateSize(power: Int) {
|
||||
val size = getSize(power)
|
||||
sizeView.setText("${size}x${size}")
|
||||
sizeView.setText("${size}x$size")
|
||||
}
|
||||
|
||||
private fun getSize(power: Int) = 128 * (power + 1)
|
||||
|
Loading…
Reference in New Issue
Block a user