zulip-android-legacy
zulip-android-legacy copied to clipboard
Restore narrow and scroll after theme switch.
Fix:#406
Summary of changes
Now narrow and scroll is restored after switching theme.
Screenshots
Switching theme in homeView

Switching theme in narrowedView

Switching theme in narrowedView and coming back to home

Please make sure these boxes are checked before submitting your pull request - thanks! Guide
-
[x] Code is formatted.
-
[x] Run the lint tests with
./gradlew lintDebugand make sure BUILD is SUCCESSFUL -
[x] If new feature is implemeted then it is compatible with Night theme too.
-
[x] Commit messages are well-written.
resolved conflicts
@vishwesh3 thanks for working on this! 👍 Faced one issue: When I tried the changes, on switching the theme, the load position of message is not maintained in the narrow. Heres a short video https://drive.google.com/open?id=0B4jK5QX65b0ZV2xzTFR2d2pyYjQ
Updated

@vishwesh3 this looks great! 👍 Though I am still facing the load position bug on switching theme for a stream. Here's a short video https://drive.google.com/open?id=0B4jK5QX65b0ZbzZoR1BvVjd1M1E Also noticed a typo in the last commit :).
Heads up @vishwesh3, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.