mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-08 20:12:39 +01:00
Clean up obsolete usages
This commit is contained in:
parent
e1688a91ca
commit
597c884d88
@ -289,8 +289,6 @@ dependencies {
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver:${Versions.okhttp}"
|
||||
androidTestImplementation "com.squareup.okhttp3:mockwebserver:${Versions.okhttp}"
|
||||
|
||||
// implementation "co.zsmb:materialdrawer-kt:${Versions.materialDrawerKt}"
|
||||
|
||||
implementation kau.Dependencies.bugsnag
|
||||
|
||||
implementation "com.davemorrissey.labs:subsampling-scale-image-view:${Versions.scaleImageView}"
|
||||
|
@ -67,22 +67,6 @@ class FrostApp : Application() {
|
||||
|
||||
scheduleNotificationsFromPrefs()
|
||||
|
||||
/**
|
||||
* Drawer profile loading logic
|
||||
* Reload the image on every version update
|
||||
*/
|
||||
// DrawerImageLoader.init(object : AbstractDrawerImageLoader() {
|
||||
// override fun set(imageView: ImageView, uri: Uri, placeholder: Drawable, tag: String?) {
|
||||
// val c = imageView.context
|
||||
// val request = GlideApp.with(c)
|
||||
// val old = request.load(uri).apply(RequestOptions().placeholder(placeholder))
|
||||
// request.load(uri).apply(
|
||||
// RequestOptions()
|
||||
// .signature(ApplicationVersionSignature.obtain(c))
|
||||
// )
|
||||
// .thumbnail(old).into(imageView)
|
||||
// }
|
||||
// })
|
||||
if (BuildConfig.DEBUG) {
|
||||
registerActivityLifecycleCallbacks(object : ActivityLifecycleCallbacks {
|
||||
override fun onActivityPaused(activity: Activity) {}
|
||||
|
@ -74,7 +74,6 @@ class AboutActivity : AboutActivityBase(null, {
|
||||
"kau",
|
||||
"kotterknife",
|
||||
"materialdialogs",
|
||||
"materialdrawer",
|
||||
"subsamplingscaleimageview"
|
||||
)
|
||||
|
||||
|
@ -34,7 +34,6 @@ import com.pitchedapps.frost.utils.Prefs
|
||||
import com.pitchedapps.frost.utils.createFreshDir
|
||||
import com.pitchedapps.frost.utils.setFrostColors
|
||||
import kotlinx.android.synthetic.main.activity_debug.*
|
||||
import kotlinx.android.synthetic.main.view_main_fab.*
|
||||
import kotlinx.coroutines.CoroutineExceptionHandler
|
||||
import java.io.File
|
||||
import kotlin.coroutines.resume
|
||||
|
@ -31,6 +31,8 @@
|
||||
|
||||
</com.pitchedapps.frost.views.SwipeRefreshLayout>
|
||||
|
||||
<include layout="@layout/view_main_fab" />
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
style="@style/Main.Fab" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="@dimen/kau_fab_margin" />
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.tabs.TabLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/tabs"
|
||||
style="@style/Widget.Design.TabLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/tab_bar_height"
|
||||
app:tabGravity="fill"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
app:tabMode="fixed" />
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:layout_scrollFlags="scroll|enterAlways|snap"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.pitchedapps.frost.views.FrostViewPager xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
@ -19,8 +19,6 @@ object Versions {
|
||||
const val jsoup = "1.12.1"
|
||||
// https://github.com/square/leakcanary/releases
|
||||
const val leakCanary = "1.6.2"
|
||||
// https://github.com/zsmb13/MaterialDrawerKt/releases
|
||||
const val materialDrawerKt = "3.0.0-rc01"
|
||||
// https://github.com/square/okhttp/releases
|
||||
const val okhttp = "4.2.2"
|
||||
// https://developer.android.com/jetpack/androidx/releases/room
|
||||
|
Loading…
Reference in New Issue
Block a user