Skip to content

Commit

Permalink
Small code structure improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rK7355608 committed Jul 10, 2024
1 parent 63725bd commit 44e4457
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.d4rk.cleaner.data.model.ui
package com.d4rk.cleaner.data.model.ui.memorymanager

data class InternalStorageInfo(
val totalStorage: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.d4rk.cleaner.data.model.ui
package com.d4rk.cleaner.data.model.ui.memorymanager

data class RamInfo(
val totalRam: Long = 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.d4rk.cleaner.data.model.ui
package com.d4rk.cleaner.data.model.ui.memorymanager

data class StorageInfo(
val totalStorage: Long = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.util.lerp
import androidx.lifecycle.viewmodel.compose.viewModel
import com.d4rk.cleaner.R
import com.d4rk.cleaner.data.model.ui.RamInfo
import com.d4rk.cleaner.data.model.ui.StorageInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.RamInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.StorageInfo
import com.d4rk.cleaner.utils.PermissionsUtils
import com.d4rk.cleaner.utils.cleaning.FileUtils.formatSize
import com.d4rk.cleaner.utils.compose.components.StorageProgressBar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import android.os.StatFs
import android.os.storage.StorageManager
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.d4rk.cleaner.data.model.ui.InternalStorageInfo
import com.d4rk.cleaner.data.model.ui.RamInfo
import com.d4rk.cleaner.data.model.ui.StorageInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.InternalStorageInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.RamInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.StorageInfo
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import com.d4rk.cleaner.data.model.ui.StorageInfo
import com.d4rk.cleaner.data.model.ui.memorymanager.StorageInfo

/**
* Composable function representing a circular determinate progress indicator with storage information.
Expand Down

0 comments on commit 44e4457

Please sign in to comment.