Merge branch 'master' into av/multiplatform-merge-master

This commit is contained in:
Avently
2023-07-20 20:35:08 +07:00
3 changed files with 2 additions and 3 deletions
@@ -23,10 +23,10 @@ import java.lang.ref.WeakReference
class MainActivity: FragmentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
applyAppLocale(ChatModel.controller.appPrefs.appLanguage)
super.onCreate(savedInstanceState)
// testJson()
mainActivity = WeakReference(this)
applyAppLocale(ChatModel.controller.appPrefs.appLanguage)
// When call ended and orientation changes, it re-process old intent, it's unneeded.
// Only needed to be processed on first creation of activity
if (savedInstanceState == null) {