Skip to content

Commit

Permalink
del: code references deleted classes
Browse files Browse the repository at this point in the history
mod: deprecated codes
  • Loading branch information
joeloewi7178 committed Feb 7, 2024
1 parent b539ae5 commit 96d7f2f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Login
import androidx.compose.material.icons.automirrored.filled.Login
import androidx.compose.material.icons.filled.Star
import androidx.compose.material3.Card
import androidx.compose.material3.FilledTonalButton
Expand Down Expand Up @@ -77,8 +77,8 @@ fun GetSession(
verticalAlignment = Alignment.CenterVertically
) {
Icon(
imageVector = Icons.Default.Login,
contentDescription = Icons.Default.Login.name
imageVector = Icons.AutoMirrored.Default.Login,
contentDescription = Icons.AutoMirrored.Default.Login.name
)
Text(
text = stringResource(id = R.string.go_to_hoyolab),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.foundation.selection.toggleable
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowForward
import androidx.compose.material.icons.automirrored.filled.ArrowForward
import androidx.compose.material.icons.filled.Error
import androidx.compose.material.icons.filled.Warning
import androidx.compose.material3.AlertDialog
Expand Down Expand Up @@ -193,8 +193,8 @@ fun SelectGames(
verticalAlignment = Alignment.CenterVertically
) {
Icon(
imageVector = Icons.Default.ArrowForward,
contentDescription = Icons.Default.ArrowForward.name
imageVector = Icons.AutoMirrored.Default.ArrowForward,
contentDescription = Icons.AutoMirrored.Default.ArrowForward.name
)
Text(text = stringResource(id = R.string.next_step))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import androidx.compose.foundation.layout.systemBars
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.OpenInNew
import androidx.compose.material.icons.filled.Email
import androidx.compose.material.icons.filled.OpenInNew
import androidx.compose.material.icons.filled.Public
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -176,8 +176,8 @@ private fun DeveloperInfoContent(
},
trailingContent = {
Icon(
imageVector = Icons.Default.OpenInNew,
contentDescription = Icons.Default.OpenInNew.name
imageVector = Icons.AutoMirrored.Default.OpenInNew,
contentDescription = Icons.AutoMirrored.Default.OpenInNew.name
)
},
overlineContent = {
Expand Down Expand Up @@ -230,8 +230,8 @@ private fun DeveloperInfoContent(
},
trailingContent = {
Icon(
imageVector = Icons.Default.OpenInNew,
contentDescription = Icons.Default.OpenInNew.name
imageVector = Icons.AutoMirrored.Default.OpenInNew,
contentDescription = Icons.AutoMirrored.Default.OpenInNew.name
)
},
overlineContent = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import com.joeloewi.croissant.domain.usecase.AttendanceUseCase
import com.joeloewi.croissant.domain.usecase.CheckInUseCase
import com.joeloewi.croissant.domain.usecase.FailureLogUseCase
import com.joeloewi.croissant.domain.usecase.SuccessLogUseCase
import com.joeloewi.croissant.domain.usecase.SystemUseCase
import com.joeloewi.croissant.domain.usecase.WorkerExecutionLogUseCase
import com.joeloewi.croissant.util.NotificationGenerator
import dagger.assisted.Assisted
Expand All @@ -48,9 +47,7 @@ class AttendCheckInEventWorker @AssistedInject constructor(
private val insertWorkerExecutionLogUseCase: WorkerExecutionLogUseCase.Insert,
private val insertSuccessLogUseCase: SuccessLogUseCase.Insert,
private val insertFailureLogUseCase: FailureLogUseCase.Insert,
private val notificationGenerator: NotificationGenerator,
private val canPerformDnsLookup: SystemUseCase.CanPerformDnsLookup,
private val isNetworkVpn: SystemUseCase.IsNetworkVpn
private val notificationGenerator: NotificationGenerator
) : CoroutineWorker(
appContext = context,
params = params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import com.joeloewi.croissant.domain.usecase.AttendanceUseCase
import com.joeloewi.croissant.domain.usecase.FailureLogUseCase
import com.joeloewi.croissant.domain.usecase.HoYoLABUseCase
import com.joeloewi.croissant.domain.usecase.SuccessLogUseCase
import com.joeloewi.croissant.domain.usecase.SystemUseCase
import com.joeloewi.croissant.domain.usecase.WorkerExecutionLogUseCase
import com.joeloewi.croissant.util.NotificationGenerator
import dagger.assisted.Assisted
Expand All @@ -42,9 +41,7 @@ class CheckSessionWorker @AssistedInject constructor(
private val insertWorkerExecutionLogUseCase: WorkerExecutionLogUseCase.Insert,
private val insertSuccessLogUseCase: SuccessLogUseCase.Insert,
private val insertFailureLogUseCase: FailureLogUseCase.Insert,
private val notificationGenerator: NotificationGenerator,
private val canPerformDnsLookup: SystemUseCase.CanPerformDnsLookup,
private val isNetworkVpn: SystemUseCase.IsNetworkVpn
private val notificationGenerator: NotificationGenerator
) : CoroutineWorker(
appContext = context,
params = params
Expand Down

0 comments on commit 96d7f2f

Please sign in to comment.