0
0
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:
Markus Fisch 2018-08-08 18:29:34 +02:00
parent c838486ca1
commit f4d625a048
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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)