This commit is contained in:
lunaticbum
2024-11-12 14:25:30 +09:00
parent 256a13b7df
commit 4b51b9807a
137 changed files with 10303 additions and 6630 deletions
@@ -341,9 +341,8 @@ internal class LauncherActivity : AppCompatActivity() {
BLog.LOGE("onConfigurationChanged Configuration >> ${newConfig}")
BLog.LOGE("onConfigurationChanged newConfig?.screenWidthDp >> ${newConfig?.screenWidthDp}")
isOpendFold = (newConfig?.screenWidthDp?.toInt() ?: 0 > 700) == true
// binding.viewPager.invalidate()
// binding.viewPager.currentItem = 1
BLog.LOGE("onConfigurationChanged newConfig?.screenHeightDp >> ${newConfig?.screenHeightDp}")
isOpendFold = (newConfig.screenWidthDp * 1.1f) > newConfig.screenHeightDp
}
override fun onNewIntent(intent: Intent?) {
@@ -42,7 +42,7 @@ import bums.lunatic.launcher.workers.WorkersDb
import com.google.android.material.imageview.ShapeableImageView
import com.google.gson.Gson
import com.squareup.picasso.Picasso
import com.wuadam.awesomewebview.AwesomeWebView
import kr.lunaticbum.awesomewebview.AwesomeWebView
import io.realm.kotlin.UpdatePolicy
import java.text.SimpleDateFormat
import java.util.Date
@@ -78,9 +78,11 @@ internal class RssItemAdapter (
// show(lActivity!!.supportFragmentManager,rss.originPage)
// }
} else {
RssViewer().apply {
show(lActivity!!.supportFragmentManager,rss.originPage)
}
// RssViewer().apply {
// show(lActivity!!.supportFragmentManager,rss.originPage)
// }
AwesomeWebView.Builder(lActivity!!).showIconClose(true).showIconBack(false).showProgressBar(true).webViewMixedContentMode(0)
.show(rss.originPage!!)
// openOpera(rss.originPage())
}
}