Put quote preview in text box for Android, above it in iOS

This commit is contained in:
Scott Nonnenberg 2018-04-18 14:48:57 -07:00
parent d4220e278d
commit f4d9ab8ba0
No known key found for this signature in database
GPG key ID: 5F82280C35134661
3 changed files with 25 additions and 4 deletions

View file

@ -1118,7 +1118,12 @@
Component: window.Signal.Components.Quote,
props,
});
this.$('.bottom-bar').prepend(this.quoteView.el);
const selector = storage.get('theme-setting') === 'ios'
? '.bottom-bar'
: '.send';
this.$(selector).prepend(this.quoteView.el);
this.updateMessageFieldSize({});
},