aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/java/com/wireguard
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-09-17 20:00:37 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-09-17 20:00:37 +0530
commita906c478c9f74e31e22ea2fad78fb46c991ceeaf (patch)
tree90e49914015ece133ef4455e3f2db1f029ff03de /ui/src/main/java/com/wireguard
parentui: refactor AddTunnelsSheet's selection communication (diff)
downloadwireguard-android-a906c478c9f74e31e22ea2fad78fb46c991ceeaf.tar.xz
wireguard-android-a906c478c9f74e31e22ea2fad78fb46c991ceeaf.zip
ui: replace deprecated onActivityCreated with onViewCreated
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/java/com/wireguard')
-rw-r--r--ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt b/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt
index c10f31a..29b667b 100644
--- a/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt
+++ b/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt
@@ -172,8 +172,8 @@ class TunnelListFragment : BaseFragment() {
}
}
- override fun onActivityCreated(savedInstanceState: Bundle?) {
- super.onActivityCreated(savedInstanceState)
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
if (savedInstanceState != null) {
val checkedItems = savedInstanceState.getIntegerArrayList(CHECKED_ITEMS)
if (checkedItems != null) {