mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-09 20:42:34 +01:00
Clean up unnecessary nonnulls
This commit is contained in:
parent
ee30d44c39
commit
c03c7d2c6e
@ -53,7 +53,7 @@
|
||||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
@ -20,7 +20,6 @@ before_install:
|
||||
after_success:
|
||||
- chmod +x ./generate-apk-release.sh
|
||||
- "./generate-apk-release.sh"
|
||||
- "./gradlew app:publishApkRelease"
|
||||
deploy:
|
||||
provider: script
|
||||
script: "./gradlew app:publishApkRelease"
|
||||
|
@ -46,10 +46,10 @@ class LoginActivity : BaseActivity() {
|
||||
val textview: AppCompatTextView by bindView(R.id.textview)
|
||||
val profile: ImageView by bindView(R.id.profile)
|
||||
|
||||
val loginObservable = SingleSubject.create<CookieModel>()!!
|
||||
val loginObservable = SingleSubject.create<CookieModel>()
|
||||
val progressObservable = BehaviorSubject.create<Int>()!!
|
||||
val profileObservable = SingleSubject.create<Boolean>()!!
|
||||
val usernameObservable = SingleSubject.create<String>()!!
|
||||
val profileObservable = SingleSubject.create<Boolean>()
|
||||
val usernameObservable = SingleSubject.create<String>()
|
||||
|
||||
// Helper to set and enable swipeRefresh
|
||||
var refresh: Boolean
|
||||
|
@ -1,6 +1,8 @@
|
||||
package com.pitchedapps.frost.web
|
||||
|
||||
import android.net.Uri
|
||||
import android.webkit.ConsoleMessage
|
||||
import android.webkit.ValueCallback
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebView
|
||||
import com.pitchedapps.frost.utils.L
|
||||
@ -31,4 +33,7 @@ class FrostChromeClient(webCore: FrostWebViewCore) : WebChromeClient() {
|
||||
progressObservable.onNext(newProgress)
|
||||
}
|
||||
|
||||
override fun onShowFileChooser(webView: WebView, filePathCallback: ValueCallback<Array<Uri>>?, fileChooserParams: FileChooserParams?): Boolean {
|
||||
return super.onShowFileChooser(webView, filePathCallback, fileChooserParams)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user