Commit Graph

84 Commits

Author SHA1 Message Date
Stefan Ceriu f1d3e5af9d Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
David Langley 8c7514c865 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
Stefan Ceriu 9457c25981 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley f4cb404df0 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
David Langley 200fb69993 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley b0d41760ec Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
David Langley f822c405ce Update Riot/Managers/Theme/SwiftUI/ThemeKey.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-13 08:24:16 +01:00
David Langley 49eb6ae1ec Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley 7ba98a01a9 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
David Langley be484239bb fix warning 2021-08-06 09:52:53 +01:00
David Langley 81730b8ad6 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
Doug c411097256 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
SBiOSoftWhare e1312a4b02 Theme: Update DarkTheme and DefaultTheme with fonts property. 2021-06-21 21:12:27 +02:00
ismailgulek e38d0205b7 Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek 4ac2722c0b Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-05-04 19:11:17 +03:00
ismailgulek 371683f1d1 Convert colors to lazy vars 2021-05-04 18:35:03 +03:00
ismailgulek d2063665e6 Update class name to LightColors 2021-05-04 18:30:15 +03:00
ismailgulek de6dfa7de5 Inject theme v2 into theme 2021-04-30 15:59:50 +03:00
ismailgulek a5cae25aa3 Adjust navigation items spacing 2021-04-29 02:19:40 +03:00
ismailgulek 4c7a4e2b0a Add call tile bg color 2021-04-28 13:46:44 +03:00
ismailgulek ef7dda3582 Add shadow color to theme 2021-04-27 01:30:21 +03:00
Gil Eluard 86a9abc5ca Composer update - UI enhancements
- Composer height =58px - Frame = 42px
- Replace current scroll to bottom implementation with a scroll to Bottom FAB on both themes
- The text inside the composer frame should be centered
- The padding between the "reveal plus" button, composer frame and Left + Right sides should be at equal distance on default mode
- Verify that the "Send a message..." String matches with the colour indicated on Figma.
- The padding between each component (buttons and composer frame) should be at equal distance on default mode. E.g : It should be at 12px for each gap.
- The input text jumps down when users start typing. It should be centered at all times.
- Remove the Scroll bar in the text frame.
- DARK THEME
2021-03-20 21:31:17 +01:00
Gil Eluard beff6765c1 SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
Gil Eluard dd720a68fb Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard c7e3155949 Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare 0f81d6fb2b Room creation intro: New theme color. 2021-02-22 00:11:59 +01:00
ismailgulek 4cd879dc5b Introduce callScreenButtonTintColor on Theme and use it 2021-02-07 20:12:30 +03:00
ismailgulek 85b5b9cefa Merge branch 'develop' into voip_2746
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.m
2021-01-15 16:07:36 +03:00
ismailgulek 743586340f Remove call bg color 2020-12-21 18:12:45 +03:00
SBiOSoftWhare f9e7eabad5 Theme: Introduce ThemeIdentifier to make theme identification easier in Swift. 2020-12-18 18:44:08 +01:00
ismailgulek 3ef6533bc5 Merge branch 'develop' into voip_2746 2020-12-03 12:26:26 +03:00
SBiOSoftWhare 6838d6e52b ThemeService: Add convenient method to check if a dark theme is used. 2020-11-30 16:41:48 +01:00
ismailgulek 186d045a28 New call UI including hold & resume 2020-11-25 16:11:52 +03:00
ismailgulek cafa35ef2d Merge branch 'develop' into theme_fixes 2020-09-30 14:28:14 +03:00
ismailgulek c1d9578d60 Add userInterfaceStyle on Theme 2020-09-22 14:17:20 +03:00
SBiOSoftWhare fa1ae8f8af ThemeService: Compute theme property at init. 2020-09-07 09:56:44 +02:00
SBiOSoftWhare 44c69575cb Theme: Remove warning. 2020-09-01 14:11:37 +02:00
SBiOSoftWhare c994ce06c9 Update tint color. 2020-07-10 21:47:50 +02:00
Steve Barré 76500cdaf0 Merge branch 'ui_polishing' into 'rebranding'
Ui polishing

See merge request new-vector/element/element-ios!26
2020-07-10 15:02:13 +00:00
Neil Alexander fa8355e407 Squashed commit of the following:
commit 7de5000bcbc9d5ddd65fa2b69726096c55951ecd
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 15:47:30 2020 +0100

    Remove logging

commit fdaecbd7f09e9fab622bfed93876b29d6e376c17
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 15:45:51 2020 +0100

    Default theme to auto when not set
2020-07-10 15:59:43 +01:00
SBiOSoftWhare 677c2786f7 Theme: Remove some legacy colors. 2020-07-10 15:37:32 +02:00
SBiOSoftWhare bcc7aca5da Theme: Update navigation tint color. 2020-07-10 14:33:45 +02:00
SBiOSoftWhare b69c1f680f Theme: Remove navigation bar shadow. 2020-07-07 15:20:50 +02:00
SBiOSoftWhare d3b1c167bd Theme: Improve search bar appearance in light theme. 2020-07-07 09:43:04 +02:00
SBiOSoftWhare 607e90f0b7 Remove top and bottom shadow when UISearchBar is added in UITableView. 2020-07-06 20:40:47 +02:00
SBiOSoftWhare c197838a83 Update theme colors. 2020-07-06 15:41:05 +02:00
SBiOSoftWhare 5bc6da0583 Rebranding: Update theme colors. 2020-07-02 19:03:15 +02:00
ismailgulek 0de64e4772 Refactor with new identifier 2020-06-05 10:58:00 +03:00
ismailgulek 335059e284 Add identifier to Theme protocol 2020-06-05 10:56:06 +03:00