Rename values
package to enums
This commit is contained in:
parent
6662da797f
commit
862a8faa15
8 changed files with 14 additions and 14 deletions
|
@ -4,9 +4,9 @@ import android.hardware.usb.UsbDevice
|
|||
import android.net.Uri
|
||||
import com.github.mjdev.libaums.UsbMassStorageDevice
|
||||
import eu.depau.etchdroid.abc.WizardFragment
|
||||
import eu.depau.etchdroid.values.FlashMethod
|
||||
import eu.depau.etchdroid.values.ImageLocation
|
||||
import eu.depau.etchdroid.values.WizardStep
|
||||
import eu.depau.etchdroid.enums.FlashMethod
|
||||
import eu.depau.etchdroid.enums.ImageLocation
|
||||
import eu.depau.etchdroid.enums.WizardStep
|
||||
|
||||
object StateKeeper {
|
||||
var wizardStep: WizardStep = WizardStep.SELECT_FLASH_METHOD
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package eu.depau.etchdroid.values
|
||||
package eu.depau.etchdroid.enums
|
||||
|
||||
enum class FlashMethod {
|
||||
FLASH_API,
|
|
@ -1,4 +1,4 @@
|
|||
package eu.depau.etchdroid.values
|
||||
package eu.depau.etchdroid.enums
|
||||
|
||||
enum class ImageLocation {
|
||||
REMOTE,
|
|
@ -1,4 +1,4 @@
|
|||
package eu.depau.etchdroid.values
|
||||
package eu.depau.etchdroid.enums
|
||||
|
||||
enum class WizardStep {
|
||||
SELECT_FLASH_METHOD,
|
|
@ -10,8 +10,8 @@ import eu.depau.etchdroid.StateKeeper
|
|||
import eu.depau.etchdroid.abc.WizardFragment
|
||||
import eu.depau.etchdroid.services.UsbAPIWriteService
|
||||
import eu.depau.etchdroid.kotlin_exts.*
|
||||
import eu.depau.etchdroid.values.FlashMethod
|
||||
import eu.depau.etchdroid.values.WizardStep
|
||||
import eu.depau.etchdroid.enums.FlashMethod
|
||||
import eu.depau.etchdroid.enums.WizardStep
|
||||
import kotlinx.android.synthetic.main.fragment_confirminfo.view.*
|
||||
import java.io.IOException
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import eu.depau.etchdroid.StateKeeper
|
|||
import eu.depau.etchdroid.abc.WizardActivity
|
||||
import eu.depau.etchdroid.abc.WizardFragment
|
||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||
import eu.depau.etchdroid.values.FlashMethod
|
||||
import eu.depau.etchdroid.values.WizardStep
|
||||
import eu.depau.etchdroid.enums.FlashMethod
|
||||
import eu.depau.etchdroid.enums.WizardStep
|
||||
|
||||
/**
|
||||
* A placeholder fragment containing a simple view.
|
||||
|
|
|
@ -20,9 +20,9 @@ import eu.depau.etchdroid.abc.WizardActivity
|
|||
import eu.depau.etchdroid.abc.WizardFragment
|
||||
import eu.depau.etchdroid.kotlin_exts.getFileName
|
||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||
import eu.depau.etchdroid.values.FlashMethod
|
||||
import eu.depau.etchdroid.values.ImageLocation
|
||||
import eu.depau.etchdroid.values.WizardStep
|
||||
import eu.depau.etchdroid.enums.FlashMethod
|
||||
import eu.depau.etchdroid.enums.ImageLocation
|
||||
import eu.depau.etchdroid.enums.WizardStep
|
||||
import kotlinx.android.synthetic.main.activity_main.*
|
||||
import kotlinx.android.synthetic.main.fragment_select_location.*
|
||||
import java.io.File
|
||||
|
|
|
@ -18,7 +18,7 @@ import eu.depau.etchdroid.activities.MainActivity
|
|||
import eu.depau.etchdroid.adapters.UsbDrivesRecyclerViewAdapter
|
||||
import eu.depau.etchdroid.kotlin_exts.name
|
||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||
import eu.depau.etchdroid.values.WizardStep
|
||||
import eu.depau.etchdroid.enums.WizardStep
|
||||
import kotlinx.android.synthetic.main.activity_main.*
|
||||
import kotlinx.android.synthetic.main.fragment_select_usb_drive.view.*
|
||||
|
||||
|
|
Loading…
Reference in a new issue