experiments: on new tabbed view, don't close keyboard when mentioning

This commit is contained in:
ave 2020-03-27 13:08:16 +03:00
parent bcdde1a700
commit c10a876d49
Signed by untrusted user: a
GPG key ID: 398DD7BD03276F6D

View file

@ -1,8 +1,8 @@
Only in com.discord-1078: build Binary files com.discord-1078-base/build/apk/classes.dex and com.discord-1078/build/apk/classes.dex differ
Only in com.discord-1078: dist Binary files com.discord-1078-base/dist/com.discord-1078.apk and com.discord-1078/dist/com.discord-1078.apk differ
diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali
*** com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 10:35:54.852235186 +0300 *** com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 10:35:54.852235186 +0300
--- com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 16:43:49.579249481 +0300 --- com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-27 12:53:46.243461585 +0300
*************** ***************
*** 80,110 **** *** 80,110 ****
@ -46,7 +46,7 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExp
.end method .end method
diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali com.discord-1078/smali/com/discord/stores/StoreExperiments.smali diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali com.discord-1078/smali/com/discord/stores/StoreExperiments.smali
*** com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 10:35:54.862235237 +0300 *** com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 10:35:54.862235237 +0300
--- com.discord-1078/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 16:43:49.579249481 +0300 --- com.discord-1078/smali/com/discord/stores/StoreExperiments.smali 2020-03-27 12:53:46.243461585 +0300
*************** ***************
*** 1318,1375 **** *** 1318,1375 ****
.end method .end method
@ -119,9 +119,31 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali
.end method .end method
.method public final isInitialized()Lrx/Observable; .method public final isInitialized()Lrx/Observable;
diff -crB com.discord-1078-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali com.discord-1078/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali
*** com.discord-1078-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali 2020-03-26 10:35:55.708906224 +0300
--- com.discord-1078/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali 2020-03-27 13:03:37.667100509 +0300
***************
*** 321,327 ****
if-eqz p3, :cond_4
.line 8
! invoke-virtual {p3, p1}, Lcom/discord/app/AppActivity;->showKeyboard(Landroid/view/View;)V
goto :goto_1
--- 321,329 ----
if-eqz p3, :cond_4
.line 8
! # Without this line commented out, tapping on someone's avatar to mention them causes the keyboard to toggle
! # Why? Because showKeyboard and hideKeyboard have the same function.
! # invoke-virtual {p3, p1}, Lcom/discord/app/AppActivity;->showKeyboard(Landroid/view/View;)V
goto :goto_1
diff -crB com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali diff -crB com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali
*** com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 10:35:56.282242483 +0300 *** com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 10:35:56.282242483 +0300
--- com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 16:43:49.579249481 +0300 --- com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-27 12:53:46.243461585 +0300
*************** ***************
*** 87,97 **** *** 87,97 ****
@ -145,7 +167,7 @@ diff -crB com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSetting
diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali
*** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-26 10:35:56.478910154 +0300 *** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-26 10:35:56.478910154 +0300
--- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-26 16:43:49.579249481 +0300 --- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-27 12:53:46.243461585 +0300
*************** ***************
*** 74,82 **** *** 74,82 ****
move-result-object v0 move-result-object v0
@ -167,7 +189,7 @@ diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$f
diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali
*** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-26 10:35:56.482243505 +0300 *** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-26 10:35:56.482243505 +0300
--- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-26 16:52:13.155313808 +0300 --- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-27 12:53:46.243461585 +0300
*************** ***************
*** 74,80 **** *** 74,80 ****
.line 2 .line 2