mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-10 21:50:05 +01:00
Update commons lib.
Remove temp code.
This commit is contained in:
parent
d2fa286676
commit
047d0a6585
6 changed files with 4 additions and 10 deletions
|
@ -1,3 +0,0 @@
|
|||
package org.fossify.gallery
|
||||
|
||||
const val SORT_BY_COUNT = 524288 // TODO: Replace with Constants from Commons, then delete this file.
|
|
@ -59,6 +59,8 @@ open class SimpleActivity : BaseSimpleActivity() {
|
|||
|
||||
override fun getAppLauncherName() = getString(R.string.app_launcher_name)
|
||||
|
||||
override fun getRepositoryName() = "Gallery"
|
||||
|
||||
protected fun checkNotchSupport() {
|
||||
if (isPiePlus()) {
|
||||
val cutoutMode = when {
|
||||
|
|
|
@ -5,7 +5,6 @@ import org.fossify.commons.activities.BaseSimpleActivity
|
|||
import org.fossify.commons.extensions.*
|
||||
import org.fossify.commons.helpers.*
|
||||
import org.fossify.gallery.R
|
||||
import org.fossify.gallery.SORT_BY_COUNT
|
||||
import org.fossify.gallery.databinding.DialogChangeSortingBinding
|
||||
import org.fossify.gallery.extensions.config
|
||||
import org.fossify.gallery.helpers.SHOW_ALL
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.fossify.commons.extensions.*
|
|||
import org.fossify.commons.helpers.*
|
||||
import org.fossify.commons.views.MySquareImageView
|
||||
import org.fossify.gallery.R
|
||||
import org.fossify.gallery.SORT_BY_COUNT
|
||||
import org.fossify.gallery.asynctasks.GetMediaAsynctask
|
||||
import org.fossify.gallery.databases.GalleryDatabase
|
||||
import org.fossify.gallery.helpers.*
|
||||
|
|
|
@ -289,7 +289,4 @@
|
|||
Haven't found some strings? There's more at
|
||||
https://github.com/FossifyOrg/Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
|
||||
<!-- Replace with strings.xml from Commons, then delete these lines. -->
|
||||
<string name="number_of_items">Number of items</string>
|
||||
</resources>
|
||||
|
|
|
@ -13,7 +13,7 @@ exif = "1.0.1"
|
|||
#Room
|
||||
room = "2.6.1"
|
||||
#Fossify
|
||||
commons = "39c99b73c7"
|
||||
commons = "9e28c573e8"
|
||||
#Gradle4
|
||||
gradlePlugins-agp = "8.6.1"
|
||||
#Other
|
||||
|
@ -55,7 +55,7 @@ androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "
|
|||
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
|
||||
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
|
||||
#Fossify
|
||||
fossify-commons = { module = "org.fossify:commons", version.ref = "commons" }
|
||||
fossify-commons = { module = "com.github.FossifyOrg:Commons", version.ref = "commons" }
|
||||
#Other
|
||||
android-gif-drawable = { module = "pl.droidsonroids.gif:android-gif-drawable", version.ref = "androidGifDrawable" }
|
||||
android-image-cropper = { module = "com.vanniktech:android-image-cropper", version.ref = "androidImageCropper" }
|
||||
|
|
Loading…
Add table
Reference in a new issue