Fix moar ktlint issues
This commit is contained in:
parent
a831f05f6e
commit
5d086ad82d
528 changed files with 146 additions and 629 deletions
|
|
@ -50,7 +50,6 @@ class NetworkMonitorImpl @Inject constructor(
|
|||
@ApplicationContext context: Context,
|
||||
appCoroutineScope: CoroutineScope,
|
||||
) : NetworkMonitor {
|
||||
|
||||
private val connectivityManager: ConnectivityManager = context.getSystemService(ConnectivityManager::class.java)
|
||||
|
||||
override val connectivity: StateFlow<NetworkStatus> = callbackFlow {
|
||||
|
|
@ -61,7 +60,6 @@ class NetworkMonitorImpl @Inject constructor(
|
|||
* Debounce the result to avoid quick offline<->online changes.
|
||||
*/
|
||||
val callback = object : ConnectivityManager.NetworkCallback() {
|
||||
|
||||
private val activeNetworksCount = AtomicInteger(0)
|
||||
|
||||
override fun onLost(network: Network) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue