remove unused code
This commit is contained in:
parent
0df8a8bc16
commit
62fb6496e7
1 changed files with 0 additions and 10 deletions
|
|
@ -1,8 +1,6 @@
|
|||
package org.fnives.android.qrcodetransfer
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
import android.widget.Toast
|
||||
import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.compose.animation.AnimatedContent
|
||||
|
|
@ -33,7 +31,6 @@ import org.fnives.android.qrcodetransfer.read.ReadQRCode
|
|||
import org.fnives.android.qrcodetransfer.storage.LocalAppPreferencesProvider
|
||||
import org.fnives.android.qrcodetransfer.ui.theme.QRCodeTransferTheme
|
||||
|
||||
|
||||
class MainActivity : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
|
@ -69,13 +66,6 @@ class MainActivity : ComponentActivity() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onNewIntent(intent: Intent?) {
|
||||
super.onNewIntent(intent)
|
||||
intent?.getStringExtra(Intent.EXTRA_TEXT)?.let { url ->
|
||||
Toast.makeText(this, "onNewIntent: url", Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue