Skip to content

Commit

Permalink
[SHARED] Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kamgurgul committed Dec 25, 2024
1 parent 7187679 commit 50169b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ actual class HardwareDataProvider actual constructor() : KoinComponent {
/**
* Get available data connected with sound card like ALSA version etc.
*/
private suspend fun getSoundCardInfo(): List<ItemValue> {
private fun getSoundCardInfo(): List<ItemValue> {
val functionsList = mutableListOf<ItemValue>()

val soundCardNumber = getSoundCardNumber()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ actual class HardwareDataProvider actual constructor() {
}
}

private suspend fun getBatteryState(): StringResource {
private fun getBatteryState(): StringResource {
val batteryState = UIDevice.currentDevice.batteryState
return when (batteryState) {
UIDeviceBatteryState.UIDeviceBatteryStateUnplugged ->
Expand Down

0 comments on commit 50169b1

Please sign in to comment.