diff options
author | Anatolii Afanasev <tafanasyev@gmail.com> | 2022-11-19 14:23:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 14:23:31 +0000 |
commit | 1abda7c6e391b66ec87d12e4e577a889ca531c2f (patch) | |
tree | 860ea310c7ad85c227f0fd145108c7e41cd4e3c1 /app/src/debug | |
parent | da586885860db5996a7df6ceac61f84f9e68d962 (diff) | |
download | infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar.gz infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar.bz2 infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar.lz infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar.xz infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.tar.zst infinity-for-reddit-1abda7c6e391b66ec87d12e4e577a889ca531c2f.zip |
Minor code improvements (#1218)
* Move mAccessToken and mAccountName initialization upper
* Marked INSTANCE as a volatile to be DCL compliant
* fix a typo in a method name and remove redundant switch
* remove redundant ifs
* removed DCL on RedditDataRoomDatabase as its controlled by dagger
* remove redundant ifs in PostGalleryActivity as nColumns can be either 2 or 3 only
* replace MediaStore.Video.Media.IS_PENDING with MediaStore.MediaColumns.IS_PENDING
* reverting simplified ifs as it going to be used in the future
* reverting HistoryPostViewModel
Diffstat (limited to 'app/src/debug')
0 files changed, 0 insertions, 0 deletions