Bumped dependencies

This commit is contained in:
Sylvain Berfini 2022-06-30 11:25:24 +02:00
parent 3c53965403
commit 3b1099d202
13 changed files with 18 additions and 18 deletions

View file

@ -207,20 +207,20 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.0-alpha05'
implementation 'androidx.core:core-ktx:1.9.0-alpha05'
implementation 'androidx.core:core-splashscreen:1.0.0-rc01'
implementation 'androidx.fragment:fragment-ktx:1.5.0-rc01'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0-rc02'
implementation 'androidx.fragment:fragment-ktx:1.5.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0'
implementation 'androidx.media:media:1.6.0'
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha03"
implementation "androidx.window:window:1.0.0"
def nav_version = "2.5.0-rc02"
def nav_version = "2.5.0"
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
implementation "androidx.slidingpanelayout:slidingpanelayout:1.2.0"
implementation 'androidx.constraintlayout:constraintlayout:2.2.0-alpha02'
implementation "androidx.gridlayout:gridlayout:1.0.0"
implementation 'androidx.recyclerview:recyclerview:1.3.0-alpha02'
implementation 'androidx.recyclerview:recyclerview:1.3.0-beta01'
// https://github.com/material-components/material-components-android/blob/master/LICENSE Apache v2.0
implementation 'com.google.android.material:material:1.6.1'
@ -240,7 +240,7 @@ dependencies {
// https://github.com/Baseflow/PhotoView/blob/master/LICENSE Apache v2.0
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation platform('com.google.firebase:firebase-bom:26.4.0')
implementation platform('com.google.firebase:firebase-bom:30.2.0')
if (crashlyticsEnabled) {
implementation 'com.google.firebase:firebase-crashlytics-ndk'
} else {

View file

@ -64,7 +64,7 @@ class ChatRoomCreationFragment : SecureFragment<ChatRoomCreationFragmentBinding>
adapter.setLimeCapabilityRequired(viewModel.isEncrypted.value == true)
binding.contactsList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.contactsList.layoutManager = layoutManager
// Divider between items

View file

@ -187,7 +187,7 @@ class DetailChatRoomFragment : MasterFragment<ChatRoomDetailFragmentBinding, Cha
// We need this adapter data observer to know when to scroll
binding.chatMessagesList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
layoutManager.stackFromEnd = true
binding.chatMessagesList.layoutManager = layoutManager

View file

@ -71,7 +71,7 @@ class GroupInfoFragment : SecureFragment<ChatRoomGroupInfoFragmentBinding>() {
)
binding.participants.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.participants.layoutManager = layoutManager
// Divider between items

View file

@ -80,7 +80,7 @@ class ImdnFragment : SecureFragment<ChatRoomImdnFragmentBinding>() {
adapter = ImdnAdapter(viewLifecycleOwner)
binding.participantsList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.participantsList.layoutManager = layoutManager
// Divider between items

View file

@ -160,7 +160,7 @@ class MasterChatRoomsFragment : MasterFragment<ChatRoomMasterFragmentBinding, Ch
binding.chatList.setHasFixedSize(true)
binding.chatList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.chatList.layoutManager = layoutManager
// Swipe action

View file

@ -52,7 +52,7 @@ class ConferenceSchedulingParticipantsListFragment : GenericFragment<ConferenceS
adapter.setLimeCapabilityRequired(viewModel.isEncrypted.value == true)
binding.contactsList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.contactsList.layoutManager = layoutManager
// Divider between items

View file

@ -64,7 +64,7 @@ class ScheduledConferencesFragment : GenericFragment<ConferencesScheduledFragmen
)
binding.conferenceInfoList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.conferenceInfoList.layoutManager = layoutManager
// Displays date header

View file

@ -137,7 +137,7 @@ class MasterContactsFragment : MasterFragment<ContactMasterFragmentBinding, Cont
}
}
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.contactsList.layoutManager = layoutManager
// Swipe action

View file

@ -123,7 +123,7 @@ class MasterCallLogsFragment : MasterFragment<HistoryMasterFragmentBinding, Call
listSelectionViewModel.isEditionEnabled.value = true
}
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.callLogsList.layoutManager = layoutManager
// Swipe action

View file

@ -62,7 +62,7 @@ class RecordingsFragment : MasterFragment<RecordingsFragmentBinding, RecordingsL
binding.recordingsList.setHasFixedSize(true)
binding.recordingsList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.recordingsList.layoutManager = layoutManager
// Divider between items

View file

@ -63,7 +63,7 @@ class ConferenceAddParticipantsFragment : GenericFragment<VoipConferenceParticip
adapter.setLimeCapabilityRequired(false) // TODO: Use right value from conference
binding.contactsList.adapter = adapter
val layoutManager = LinearLayoutManager(activity)
val layoutManager = LinearLayoutManager(requireContext())
binding.contactsList.layoutManager = layoutManager
// Divider between items

View file

@ -12,10 +12,10 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.gms:google-services:4.3.13'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.1'
}
}