mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
5a15776bb3
Fixes a bug where after toggling a tunnel so many times it would eventually get stuck in the on position. This was also impacting auto-tunneling reliability. Fixes a bug where clicking the email button on the support page would not populate the "to" email field. Fixes a bug where you could not save a tunnel without having configured DNS. Added a dialog to prompt user if they are deleting a tunnel. Added battery optimization disable request when first launching auto-tunneling. Format to kotlinlang standards. Fix ci google play deploy. Closes #63
14 lines
345 B
Kotlin
14 lines
345 B
Kotlin
package com.zaneschepke.wireguardautotunnel.ui
|
|
|
|
import androidx.lifecycle.ViewModel
|
|
import com.zaneschepke.wireguardautotunnel.data.SettingsDao
|
|
import dagger.hilt.android.lifecycle.HiltViewModel
|
|
import javax.inject.Inject
|
|
|
|
@HiltViewModel
|
|
class ActivityViewModel
|
|
@Inject
|
|
constructor(
|
|
private val settingsRepo: SettingsDao,
|
|
) : ViewModel() {}
|