This commit is contained in:
Benoit Marty 2019-06-04 10:25:29 +02:00
parent fc5edcdf0f
commit 43521c6e09
3 changed files with 2 additions and 19 deletions

View File

@ -45,10 +45,10 @@ android {

debug {
// Set to true to log privacy or sensible data, such as token
buildConfigField "boolean", "LOG_PRIVATE_DATA", "true"
buildConfigField "boolean", "LOG_PRIVATE_DATA", "false"

// Set to BODY instead of NONE to enable logging
buildConfigField "okhttp3.logging.HttpLoggingInterceptor.Level", "OKHTTP_LOGGING_LEVEL", "okhttp3.logging.HttpLoggingInterceptor.Level.BODY"
buildConfigField "okhttp3.logging.HttpLoggingInterceptor.Level", "OKHTTP_LOGGING_LEVEL", "okhttp3.logging.HttpLoggingInterceptor.Level.NONE"
}

release {

View File

@ -180,7 +180,6 @@ class RoomDetailFragment :

roomDetailViewModel.nonBlockingPopAlert.observe(this, Observer { liveEvent ->
liveEvent.getContentIfNotHandled()?.let {
// TODO Valere: what is the aim of `*` ?
val message = requireContext().getString(it.first, *it.second.toTypedArray())
showSnackWithMessage(message, Snackbar.LENGTH_LONG)
}

View File

@ -44,22 +44,6 @@ import java.util.concurrent.TimeUnit
/**
* What can be improved:
* - When filtering more (when entering new chars), we could filter on result we already have, during the new server request, to avoid empty screen effect
*
* TODO For Nad:
* Display number of rooms? -> Not displayed
* Picto size are not correct -> Fixed
* Where I put the room directory picker? -> Menu
* World Readable badge -> not displayed
* Guest can join badge -> not displayed
* Create Room -> Wait for screen
*
*
* Home
* -> FAB on first screen
* -> Counter -> Ok
*
*
* @Benoit: Provide list for event type in last message on home
*/
class PublicRoomsFragment : VectorBaseFragment(), PublicRoomsController.Callback {