Commit Graph

277 Commits

Author SHA1 Message Date
Moez Bhatti b4741b78c1 Message bubble respects dark theme 2017-12-05 18:15:20 -05:00
Moez Bhatti aea338c247 Background colour respects dark mode 2017-12-05 18:09:31 -05:00
Moez Bhatti 2f9e559894 Clean up Colors manager 2017-12-05 16:46:59 -05:00
Moez Bhatti d856e141c1 Delete conversation from long-press 2017-12-05 01:25:02 -05:00
Moez Bhatti e9301ced5f Don't provide flowable to ConversationsAdapter 2017-12-04 23:33:48 -05:00
Moez Bhatti cb6c13f454 Allow deleting conversation from menu 2017-12-04 13:23:23 -05:00
Moez Bhatti 1a7a9c87bf Show contact card after clicking on avatar 2017-12-04 12:13:31 -05:00
Moez Bhatti 965c3b964e Respect delivery confirmations preference 2017-12-04 11:28:35 -05:00
Moez Bhatti e561dff574 Add ability to archive/unarchive from compose activity 2017-12-04 11:19:13 -05:00
Moez Bhatti eafcdd15b8 Slight cleanup for NotificationManager 2017-12-04 10:19:48 -05:00
Moez Bhatti f1ab81f5ee Only show notifications if enabled 2017-12-04 02:56:53 -05:00
Moez Bhatti 0bedf303ef Refactor ThemeManager to Colors 2017-12-04 02:51:33 -05:00
Moez Bhatti 6d5ed6cdc6 Make Dagger AppComponent easier to access 2017-12-04 02:48:20 -05:00
Moez Bhatti 19f1fb3988 Add support for themed Switches 2017-12-04 02:34:55 -05:00
Moez Bhatti d2d27fe323 Added some more preference summaries 2017-12-04 01:27:46 -05:00
Moez Bhatti d030f6c8e8 Settings toggles are hooked up to observable data 2017-12-04 01:15:19 -05:00
Moez Bhatti 61a9d87afd Create utility class to make preference usage easier and more reliable 2017-12-04 00:58:00 -05:00
Moez Bhatti 64504a2433 Add switch view to all appropriate preferences 2017-12-04 00:47:20 -05:00
Moez Bhatti eaaadcd3fb Clean up custom view constructors 2017-12-03 23:59:50 -05:00
Moez Bhatti 22cb4e151f Created custom view to handle preferences better with MVI 2017-12-03 23:56:56 -05:00
Moez Bhatti e5c897b50c Add ability to change theme 2017-12-03 18:15:36 -05:00
Moez Bhatti a06af741ae Show hint for Default SMS preference 2017-12-01 00:47:35 -05:00
Moez Bhatti f295bdf2e7 Fixed crash for SettingsActivity 2017-11-30 16:14:24 -05:00
Moez Bhatti 8f3053cecd Add comments to ComposeViewModel 2017-11-30 14:06:11 -05:00
Moez Bhatti 7031f94875 Add option to call contact in conversation 2017-11-30 02:01:58 -05:00
Moez Bhatti fd5af2714b Use Observable instead of Int for theme color 2017-11-29 23:30:45 -05:00
Moez Bhatti 9df4610c83 Fixed DiffUtilCallback 2017-11-29 21:47:11 -05:00
Moez Bhatti 5cf184a723 Correctly wrap width for message body TextView 2017-11-29 18:06:27 -05:00
Moez Bhatti 3ef8eccc0e Improved rendering for group avatars 2017-11-29 17:11:32 -05:00
Moez Bhatti beac970c2f Create conversation during composing if it hasn't already been created 2017-11-29 16:51:01 -05:00
Moez Bhatti e982a60d2e Improved spacing for chips 2017-11-29 09:51:51 -05:00
Moez Bhatti 77fbe3b50f Improve readability for recipient changing observable 2017-11-29 09:31:35 -05:00
Moez Bhatti 7b95323a0e Group observables for modifying contact selection 2017-11-29 08:55:56 -05:00
Moez Bhatti 4d1a85d5dc Add ripple to contact suggestions 2017-11-29 08:35:45 -05:00
Moez Bhatti 25e6ff912d Disable editing mode once a message is sent 2017-11-29 08:30:53 -05:00
Moez Bhatti 8f4eb5b11a Don't show contacts that have already been selected 2017-11-29 08:19:46 -05:00
Moez Bhatti b8572fd0df Fix keyboard focus during contact entry 2017-11-29 07:52:07 -05:00
Moez Bhatti fe528f97b7 Check for reference equivalence in AbstractDiffUtilCallback 2017-11-29 07:43:18 -05:00
Moez Bhatti aadaff8140 Don't show contacts if at least one is selected and there's no query text 2017-11-29 04:38:24 -05:00
Moez Bhatti a4f8cb1c83 Disable animations for contact suggestions 2017-11-29 04:18:30 -05:00
Moez Bhatti 2168c16c5e Load appropriate conversation based on chip selection 2017-11-29 04:10:31 -05:00
Moez Bhatti 89bcf84ab6 Fix potential memory leak from chip selection/deselection 2017-11-28 19:22:08 -05:00
Moez Bhatti ad4fa5deba Keep a reference to a conversation observable instead of conversation, don't manually call methods in VM from Activity 2017-11-28 19:12:40 -05:00
Moez Bhatti 62e19a154c Use withLatestFrom to get message text for sending, instead of relying on state 2017-11-28 18:02:14 -05:00
Moez Bhatti 93762609ab Manage visibility for compose bar 2017-11-28 17:30:41 -05:00
Moez Bhatti f914f19ee8 Use lists of data instead of Flowables for ChipsAdapter and ContactsAdapter 2017-11-28 16:03:41 -05:00
Moez Bhatti 3626149d1d Refactor MessagesActivity to ComposeActivity 2017-11-28 14:27:58 -05:00
Moez Bhatti 86dc4c63ac Merged MessagesActivity and ComposeActivity 2017-11-28 14:25:06 -05:00
Moez Bhatti da35151cd6 Fixed crash in addMessageFromUri 2017-11-28 02:39:06 -05:00
Moez Bhatti 52870d02fd Don't require State as a type parameter for an Activity 2017-11-28 02:24:12 -05:00