Rename LoadAccountViewModel

This commit is contained in:
bemusementpark 2024-07-01 16:38:35 +09:30
parent 1f7a1c7e0d
commit d621036af6
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class LoadAccountActivity : BaseActionBarActivity() {
@Inject
internal lateinit var loadingManager: LoadingManager
private val viewModel: LinkDeviceViewModel by viewModels()
private val viewModel: LoadAccountViewModel by viewModels()
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

View File

@ -28,7 +28,7 @@ internal data class State(
)
@HiltViewModel
internal class LinkDeviceViewModel @Inject constructor(
internal class LoadAccountViewModel @Inject constructor(
private val application: Application
): AndroidViewModel(application) {
private val state = MutableStateFlow(State())