Commented unwanted method.

This commit is contained in:
vsuryakumar
2023-02-02 16:31:28 +05:30
parent 1c20ab279b
commit 2c74675d3d

View File

@@ -3,18 +3,17 @@ package com.example.hpos.util
import android.content.Context import android.content.Context
import android.os.Environment import android.os.Environment
import com.example.hpos.R import com.example.hpos.R
import com.example.hpos.data.model.DeviceType
import java.io.File import java.io.File
class MyUtils { class MyUtils {
fun getDeviceTypeFromString(deviceName: String) : DeviceType { // fun getDeviceTypeFromString(deviceName: String) : DeviceType {
return if (deviceName == "TestRight"){ // return if (deviceName == "TestRight"){
DeviceType.TestRight // DeviceType.TestRight
} else { // } else {
DeviceType.Denovix // DeviceType.Denovix
} // }
} // }
fun createAppFolder(context: Context) : String? { fun createAppFolder(context: Context) : String? {
val folderPath = Environment.getExternalStorageDirectory().absolutePath + "/" + context.resources.getString(R.string.app_name) + "/" val folderPath = Environment.getExternalStorageDirectory().absolutePath + "/" + context.resources.getString(R.string.app_name) + "/"