mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-02 08:58:23 +02:00
Displays debug information on how many notes and users where fully loaded to the phone as a % of total references (pubkeys, ids) stored
This commit is contained in:
parent
bf9f4202d4
commit
dfe95c28ea
@ -148,8 +148,8 @@ fun MainTopBar(scaffoldState: ScaffoldState, accountViewModel: AccountViewModel)
|
||||
println("Image Disk Cache ${(imageLoader.diskCache?.size ?: 0)/(1024*1024)}/${(imageLoader.diskCache?.maxSize ?: 0)/(1024*1024)} MB")
|
||||
println("Image Memory Cache ${(imageLoader.memoryCache?.size ?: 0)/(1024*1024)}/${(imageLoader.memoryCache?.maxSize ?: 0)/(1024*1024)} MB")
|
||||
|
||||
println("Notes: " + LocalCache.notes.size)
|
||||
println("Users: " + LocalCache.users.size)
|
||||
println("Notes: " + LocalCache.notes.filter { it.value.event != null }.size +"/"+ LocalCache.notes.size)
|
||||
println("Users: " + LocalCache.users.filter { it.value.latestMetadata != null }.size +"/"+ LocalCache.users.size)
|
||||
}
|
||||
) {
|
||||
Icon(
|
||||
|
Loading…
x
Reference in New Issue
Block a user