Skip to content

Commit

Permalink
[feat/041-spring-choice] : Optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelStH committed Oct 5, 2021
1 parent 5573c6c commit 747039b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ConnectionLiveData(
@Suppress("DEPRECATION")
val activeNetwork =
intent.extras!![ConnectivityManager.EXTRA_NETWORK_INFO] as NetworkInfo?

@Suppress("DEPRECATION")
val isConnected = activeNetwork != null &&
activeNetwork.isConnectedOrConnecting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.riders.thelab.core.storage

import android.content.Context
import android.graphics.BitmapFactory
import android.media.MediaMetadataRetriever
import android.os.Build
import android.os.Environment
import android.os.storage.StorageManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.riders.thelab.ui.base

import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.appbar.MaterialToolbar

Expand Down

0 comments on commit 747039b

Please sign in to comment.