Skip to content

Commit

Permalink
Update target SDK to 29 to pass google play's minimum req
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaskay committed Dec 10, 2020
1 parent a458a3f commit d7ba539
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class NetworkMonitor(
networkState.value = initialState
}
}
connectivity.registerDefaultNetworkCallback(networkCallback)
networkCallback?.let {
connectivity.registerDefaultNetworkCallback(it)
}
}

fun stop() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class RegistrationTopupPaymentFragment : Fragment() {
private fun handleTopupAddressCopy(root: View) {
val identity = viewModel.identity.value ?: return
val clip = ClipData.newPlainText("channel address", identity.channelAddress)
clipboardManager.primaryClip = clip
clipboardManager.setPrimaryClip(clip)
showMessage(root.context, getString(R.string.wallet_topup_address_copied))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class WalletFragment : Fragment() {
private fun handleTopupAddressCopy(root: View) {
val identity = walletViewModel.identity.value ?: return
val clip = ClipData.newPlainText("channel address", identity.channelAddress)
clipboardManager.primaryClip = clip
clipboardManager.setPrimaryClip(clip)
showMessage(root.context, getString(R.string.wallet_topup_address_copied))
}

Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 24
compileSdkVersion = 28
targetSdkVersion = 28
compileSdkVersion = 29
targetSdkVersion = 29
}
repositories {
google()
Expand Down

0 comments on commit d7ba539

Please sign in to comment.