Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c2a31a3
Added pull-request templates
DrSolidDevil Jul 10, 2025
3e8177c
Created changelog
DrSolidDevil Jul 10, 2025
642c3cb
Added different colorsets for the app, at the moment there are 3 excl…
DrSolidDevil Jul 11, 2025
3e9f1e3
Merge branch '1.1.0-beta' of https://github.com/DrSolidDevil/Vidar in…
DrSolidDevil Jul 11, 2025
1a336aa
Fixed bug where it would save new contact before validating that it w…
DrSolidDevil Jul 12, 2025
f7c8f78
Added ability to control font weight for basic button + made save but…
DrSolidDevil Jul 12, 2025
7c8b6a2
Rewrote colorsets, instead of inheriting from colorset, the different…
DrSolidDevil Jul 12, 2025
6b71f84
Changed keyboard type of phone number field.
DrSolidDevil Jul 13, 2025
ce58482
Changed navigation in ErrorPopup, now uses clearNavigatorAndPush
DrSolidDevil Jul 13, 2025
8eb897a
Changed exportLogs popup to use alertdialog instead of error popup, e…
DrSolidDevil Jul 13, 2025
9ae93a9
Added button to export logs in settings (to export logs when no error…
DrSolidDevil Jul 13, 2025
4a9881f
Rewrote logger creation and log messages + added log for device and a…
DrSolidDevil Jul 13, 2025
51d0fbe
Removed unused packages
DrSolidDevil Jul 13, 2025
9aca116
typo
DrSolidDevil Jul 13, 2025
f013694
Added log when wiping keys
DrSolidDevil Jul 13, 2025
6663e48
removed linter rule "avoid_catches_without_on_clauses"
DrSolidDevil Jul 13, 2025
ccd64bf
Added new template for logs, made for common errors that don't requir…
DrSolidDevil Jul 13, 2025
db61ecd
Format
DrSolidDevil Jul 13, 2025
beadd53
Fixed time for speech bubbles, the bug was due to creating Datetime f…
DrSolidDevil Jul 13, 2025
1cd2a28
Changed color of send button for default color set from dark space ca…
DrSolidDevil Jul 13, 2025
0aea5e9
Changed the color of the floating action button for the default color…
DrSolidDevil Jul 13, 2025
004cb38
The edit contact page now displays name and phone number, (with optio…
DrSolidDevil Jul 13, 2025
4087354
Updated navigation for settings page to utilize `clearNavigatorAndPush`
DrSolidDevil Jul 13, 2025
7e6fea4
Updated changelog to include 1.1.0-beta
DrSolidDevil Jul 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Choose template:
- [General](?expand=1&template=pull_request_general_template.md)
- [Bug](?expand=1&template=pull_request_bug_template.md)
- [Release](?expand=1&template=pull_request_release_template.md)

20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_bug_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Description
*Please explain the changes you made here.*

### Checklist
- [ ] Check your code additions will fail neither code linting checks nor unit test.
- [ ] Associated issues have been linked.
- [ ] Performed a self-review of my own code.

### What is the current behavior?
*Please describe the current behavior that you are modifying.*

### What is the new behavior?
*Please describe the behavior or changes that are being added by this PR.*

### Where has this been tested?
- **Device:** (e.g. Asus Zenfone 11)
- **Android Version:** (e.g. Android 16)

### Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_general_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### Description
*Please explain the changes you made here.*

### Checklist
- [ ] Check your code additions will fail neither code linting checks nor unit test.
- [ ] Associated issues have been linked.
- [ ] Performed a self-review of my own code.

### Does this introduce a breaking change?
- [ ] Yes
- [ ] No

### Where has this been tested?
- **Device:** (e.g. Asus Zenfone 11)
- **Android Version:** (e.g. Android 16)

### Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Breaking Changes

### New Features

### Bug Fixes

### Performance Improvements

### Other Changes
99 changes: 99 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
## [1.1.0-beta](https://github.com/DrSolidDevil/Vidar/compare/v1.0.3-beta...v1.1.0-beta) (2025-07-13)

> This version of Vidar introduces color sets! You can now choose how your experience will look. In addition to color sets, now you can export logs at any time through the settings. This version also finally introduces the ability to see the time a message was sent/received.

### New Features
* Color sets for Vidar currently there are four color sets (including default). [`642c3cb`](https://github.com/DrSolidDevil/Vidar/commit/642c3cb95b271b4a59e451042c7fba6dbc9c8198) [`7c8b6a2`](https://github.com/DrSolidDevil/Vidar/commit/7c8b6a27091b0fcbcef068cbdcfd49f73d7b81bc) [`1cd2a28`](https://github.com/DrSolidDevil/Vidar/commit/1cd2a281deba7977c7dceef8990b148d243d6e13) [`0aea5e9`](https://github.com/DrSolidDevil/Vidar/commit/0aea5e9f067f290435c84f7c09a9084c10cb3aa5)
* Ability to export logs at any time using a button on the settings page. [`9ae93a9`](https://github.com/DrSolidDevil/Vidar/commit/9ae93a9304b2644da57b72c15ee4e7101f639341)
* Messages now display the time it was sent/received. [`beadd53`](https://github.com/DrSolidDevil/Vidar/commit/beadd532267ba8660ea0b7e61c91194838a467c1)
* Edit contact page now shows current name, phone number and optionally the encryption key (by default not shown) [`004cb38`](https://github.com/DrSolidDevil/Vidar/commit/004cb38036a8227c8a5c064a7e39515c6a0b9cf9)

### Bug Fixes
* Fixed faulty save logic for edit_contact.dart. [`1a336aa`](https://github.com/DrSolidDevil/Vidar/commit/1a336aaea631f39e64b88e62519036bc3ac796a9)
* Fixed SMS dates when retrieving from map sent via method channel. [`beadd53`](https://github.com/DrSolidDevil/Vidar/commit/beadd532267ba8660ea0b7e61c91194838a467c1)

### Other Changes
* Added pull-request templates. [`c2a31a3`](https://github.com/DrSolidDevil/Vidar/commit/c2a31a3516d4918a4a047b59079074dbfad05646)
* Created changelog. [`3e8177c`](https://github.com/DrSolidDevil/Vidar/commit/3e8177cd76368379a5eb42b556e45deeac08435d)
* Changed keyboard type of the phone number field on the edit contact page to a phone number optimized one. [`6b71f84`](https://github.com/DrSolidDevil/Vidar/commit/6b71f84ada9b4e4b174ae4c49878e8f5231752aa)
* Navigation standardization. [`ce58482`](https://github.com/DrSolidDevil/Vidar/commit/ce58482f1f167ccb4718b28444523155de199212) [`4087354`](https://github.com/DrSolidDevil/Vidar/commit/4087354c3840b4233f2201550ac0c0f349b06e89)
* Dialog to export logs no longer utilizes ErrorPopup [`8eb897a`](https://github.com/DrSolidDevil/Vidar/commit/8eb897a9eca87de5edaf9e0834f45f8348003409)
* Rewrote logging in an effort to improve DX. [`4a9881f`](https://github.com/DrSolidDevil/Vidar/commit/4a9881f6c5a270f651fe7e9b80fe33a40c0b2c56) [`f013694`](https://github.com/DrSolidDevil/Vidar/commit/f013694183178e95691b375165db0d9631248e8c) [`ccd64bf`](https://github.com/DrSolidDevil/Vidar/commit/ccd64bfcd92ff13739b4dbeab8b6c51426ee1f7d)
* Removed unused packages. [`51d0fbe`](https://github.com/DrSolidDevil/Vidar/commit/51d0fbe2698d26d2765c7859acebb809f0587ca8)
* Removed linter rule "avoid_catches_without_on_clauses" [`6663e48`](https://github.com/DrSolidDevil/Vidar/commit/6663e4875c569440df35afb8933c5ef4be1fea2b)
* Minor visual enhancements [`f7c8f78`](https://github.com/DrSolidDevil/Vidar/commit/f7c8f78eac044fb0e6e51a80660fa16c99bf8582)
* Typo fixed. [`9aca116`](https://github.com/DrSolidDevil/Vidar/commit/9aca116fb4da0046f514e83219efbe55d646a6a8)

<br>

## [1.0.3-beta](https://github.com/DrSolidDevil/Vidar/compare/v1.0.2-beta...v1.0.3-beta) (2025-07-10)

> No real changes for the end user; upgrading is not necessary.

### Other Changes
* Change license from 3-Clause BSD to Mozilla Public License Version 2.0 [`87bed3f`](https://github.com/DrSolidDevil/Vidar/commit/87bed3ffa831e00e8a6e235bb8129a0292bd92b6)
* Added version validation for pushing to main. [`c259588`](https://github.com/DrSolidDevil/Vidar/commit/c2595885e4b817f1c397bba621fef352911f4322)

<br>

## [1.0.2-beta](https://github.com/DrSolidDevil/Vidar/compare/v1.0.1-beta...v1.0.2-beta) (2025-07-09)

> Very minor changes relating to some refactoring and logging. No real changes for the end user; upgrading is not necessary.

### Other Changes
* Made encryption error messages public and made message_bar.dart use these when checking for specific error type in switch. [`8315d69`](https://github.com/DrSolidDevil/Vidar/commit/8315d69f60a2fafc2e6bf924f12d846cb2b6dd71)
* Added info to log in encryptMessage when no key exists, informing if it is allowed or not. [`de0478d`](https://github.com/DrSolidDevil/Vidar/commit/de0478d16ce98aff72281f64a752e21ae1ebad4e)

<br>

## [1.0.1-beta](https://github.com/DrSolidDevil/Vidar/compare/v1.0.0-beta...v1.0.1-beta) (2025-07-08)

> Minor patch relating to editing existing contacts and errors shown in the message bar.

### Bug Fixes
* Fixed error widget from message bar not adapting to changes in viewinsets (i.e. keyboard). [`c9bc4b9`](https://github.com/DrSolidDevil/Vidar/commit/c9bc4b91c5e586df7a33b3244028f5fb398a0780)
* Fixed displaying of error widget when transitioning from keyboard being up to it being down or vice versa. [`c9bc4b9`](https://github.com/DrSolidDevil/Vidar/commit/c9bc4b91c5e586df7a33b3244028f5fb398a0780)

### Other Changes
* If a user forgets to enter a plus sign before the phone number it automatically adds it. [`a5f4980`](https://github.com/DrSolidDevil/Vidar/commit/a5f49804b6a098089a340949bb560215330c184d)
* Editing existing contact's details is now subject to a check of contact information invalidity. [`a5f4980`](https://github.com/DrSolidDevil/Vidar/commit/a5f49804b6a098089a340949bb560215330c184d)
* Display time for errors related to sending messages and the message bar is extended to 15 seconds. [`c9bc4b9`](https://github.com/DrSolidDevil/Vidar/commit/c9bc4b91c5e586df7a33b3244028f5fb398a0780)

<br>

## [1.0.0-beta](https://github.com/DrSolidDevil/Vidar/compare/v0.1.0...v1.0.0-beta) (2025-07-07)

> This release marks a major milestone in Vidar's development. While still in beta, it introduces a wide range of new features, performance improvements, and changes that bring Vidar closer to a stable 1.0 release.

### Breaking Changes
* Made key storage encrypted using [flutter_secure_storage](https://pub.dev/packages/flutter_secure_storage). [`489d3af`](https://github.com/DrSolidDevil/Vidar/commit/489d3af688163e74ca035663ed842b2bfb712288)
* APK package name renamed from `com.vidar.vidar` to `com.drsoliddevil.vidar`. This may affect upgrades and backups. [`2bd9cae`](https://github.com/DrSolidDevil/Vidar/commit/2bd9caee388cdc80218a83908ac7a4872d05ba76)


### New Features
* Ability to delete contacts from contact list by holding on the contact badge (i.e. long press). [`42f5681`](https://github.com/DrSolidDevil/Vidar/commit/42f5681ca3140c1b021c72dd6f3ace0f87726775)
* Loading screen while you load a conversation. [`be5e0b9`](https://github.com/DrSolidDevil/Vidar/commit/be5e0b9ed0bfbda1ea01014b00c7d297ae541368)
* Ability to wipe all keys with one button (in settings). [`cd466ea`](https://github.com/DrSolidDevil/Vidar/commit/cd466eae30f804ad5e1afd9be6bf734699660792)
* System for logging with ability to export logs. [`33d1972`](https://github.com/DrSolidDevil/Vidar/commit/33d1972c4e7393860a19a2b2aeaba958f69adf05) [`95f4a7d`](https://github.com/DrSolidDevil/Vidar/commit/95f4a7d1c01fa282bfedc02500ecb9c5671cac4b) [`089dcd9`](https://github.com/DrSolidDevil/Vidar/commit/089dcd91ab6d52647888ae1b0517081770d5c0db) [`004c51d`](https://github.com/DrSolidDevil/Vidar/commit/004c51df68b2e33748c43915bf9c3ddf243931cf)

### Bug Fixes
* Fixed phone number parsing only applying to new contact. [`becca8a`](https://github.com/DrSolidDevil/Vidar/commit/becca8ae7f94f8f66ec7b237769b882df456182b)
* Fixed SmsReceiver and SmsNotifier. [`7a6ede2`](https://github.com/DrSolidDevil/Vidar/commit/7a6ede25e8e04196d0c9d22ebe719049de034468) [`579a46d`](https://github.com/DrSolidDevil/Vidar/commit/579a46dcd5919782e3bcd2879661af8df5a12ac9) [`6629316`](https://github.com/DrSolidDevil/Vidar/commit/662931697ed4070d22bb80950e0ece5e3e92613f)

### Performance Improvements
* _generateRandomChar or _generateUniqueRandomInt does not need to create a new instance of Random every time they are called (if a Random object is provided via parameters). [`e9f8355`](https://github.com/DrSolidDevil/Vidar/commit/e9f8355e9fa0eb0b6e730b97a989697091351775)
* decryptMessage does not need to create a new instance of AesGcm every time they are called (if a AesGcm object is provided via parameters). [`d47ebb8`](https://github.com/DrSolidDevil/Vidar/commit/d47ebb825653ad99f183cd4d90a22098c5c1f326)

### Other Changes
* Rewritten readme. [`5e33c19`](https://github.com/DrSolidDevil/Vidar/commit/5e33c19f4a9d61d294e678f68249639c5fc8a1d9)
* Created a security policy. [`6c8dd32`](https://github.com/DrSolidDevil/Vidar/commit/6c8dd326d5da617fcbe9fbeeaf285fc0350e7313) [`ff7afa0`](https://github.com/DrSolidDevil/Vidar/commit/ff7afa0ba4fc3cb1611047bc20544eba36d41d3f) [`1c30221`](https://github.com/DrSolidDevil/Vidar/commit/1c30221b5e9b201a743ef783e44fb19b8309cdf4)
* Created code of conduct (Contributor Covenant). [`f66ca46`](https://github.com/DrSolidDevil/Vidar/commit/f66ca46bc11f667c8541678ca7fab1f92c1a8f62) [`db2e83e`](https://github.com/DrSolidDevil/Vidar/commit/db2e83e6698d18eec29f9574c3f27d71437006dc)
* Created workflows for building APK on new release and running linter before merge into main. [`fb4d988`](https://github.com/DrSolidDevil/Vidar/commit/fb4d988dc35944fd2930a07adc2ddfc99786d1a8)
* Removed web-related code & files. [`130f03e`](https://github.com/DrSolidDevil/Vidar/commit/130f03e70e743318a50a2f20e76bc56aa48f8c40)
* Messages with STATUS_FAILED will now be displayed as "MESSAGE_FAILED" in the conversation. [`bccae1c`](https://github.com/DrSolidDevil/Vidar/commit/bccae1c571472ed84238cc6db06b68db8efad7e7)
* Message bar clears when a message is sent (without error). [`554e62c`](https://github.com/DrSolidDevil/Vidar/commit/554e62ce03b908a71b1fef1d3345a85133af89d4)
* Chat updates when you send a message. [`110b2e2`](https://github.com/DrSolidDevil/Vidar/commit/110b2e2611224218c3e3028205e279d0c7dffbd4)
* Buttons redesigned using TextButton. [`f3de296`](https://github.com/DrSolidDevil/Vidar/commit/f3de29691a4ff1e054f6e90d1916c6bcce236432)
* Minor visual enhancements [`2540ad7`](https://github.com/DrSolidDevil/Vidar/commit/2540ad751c03dce39885fbb5b36551a3325a0962) [`fe025ee`](https://github.com/DrSolidDevil/Vidar/commit/fe025ee8cec4edd8eeb5ee0be77886747678fa97) [`454ce0c`](https://github.com/DrSolidDevil/Vidar/commit/454ce0cae7b3ddf7dfe74cbdf3344d227671de74)
* Fixed typos. [`34a7a4a`](https://github.com/DrSolidDevil/Vidar/commit/34a7a4a4f2857c363fb0c5ee51c665a92f4a73c0) [`cd820ed`](https://github.com/DrSolidDevil/Vidar/commit/cd820edfd1927d5be5ad7bafcd83491c53deb695) [`f9fd354`](https://github.com/DrSolidDevil/Vidar/commit/f9fd3546b8b302165e051aacad63081b6504f579 )

1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ linter:
- annotate_overrides
- annotate_redeclares
- avoid_bool_literals_in_conditional_expressions
- avoid_catches_without_on_clauses
- avoid_catching_errors
- avoid_empty_else
- avoid_escaping_inner_quotes
Expand Down
90 changes: 69 additions & 21 deletions lib/configuration.dart
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
import "package:flutter/material.dart";
import "package:device_info_plus/device_info_plus.dart" show AndroidDeviceInfo;
import "package:logging/logging.dart";
import "package:package_info_plus/package_info_plus.dart" show PackageInfo;

class VidarColors {
/// #1a1c28
static const Color primaryDarkSpaceCadet = Color.fromARGB(255, 26, 28, 40);

/// #64007b
static const Color secondaryMetallicViolet = Color.fromARGB(255, 53, 22, 100);

/// #b18c19
static const Color tertiaryGold = Color.fromARGB(255, 177, 140, 25);

/// #140627
static const Color extraMidnightPurple = Color.fromARGB(255, 20, 6, 39);

/// #b22222
static const Color extraFireBrick = Color.fromARGB(255, 178, 34, 34);
void externalConfiguration() {
// Required to be true if you want to change log level of loggers (e.g. allow config messages).
hierarchicalLoggingEnabled = true;
}

class CryptographicConfiguration {
Expand Down Expand Up @@ -48,12 +37,16 @@ class TimeConfiguration {

class MiscellaneousConfiguration {
static const String errorPrefix = "⚠";
static const List<String> messageHints = <String>[
"Write them a message!",
"Show them some love ❤️",
"Tell them your secrets 👀",
"Start gossiping...",
"Talk to them, they miss you.",
];
}

class LoggingConfiguration {
/// If encryption errors should be logged/printed
static const bool verboseEncryptionError = false;

static const String loggerName = "VidarLogger";

static const bool extraVerboseLogs = true;
Expand All @@ -65,10 +58,65 @@ class LoggingConfiguration {
}

static String verboseLogMessage(final LogRecord log) {
return "\n${log.sequenceNumber}: ${log.time.toIso8601String()}\nLevel: ${log.level.name}\nError: ${log.error}\nMessage: ${log.message}\nStack Trace: ${log.stackTrace}";
return """
[${log.sequenceNumber}] ${log.time.toIso8601String()}
\tLevel: ${log.level.name}
\tError: ${log.error}
\tMessage: ${log.message.replaceAll("\n", "\n\t")}
\tStack Trace: ${log.stackTrace}
""";
}

static String normalLogMessage(final LogRecord log) {
return """
[${log.sequenceNumber}] ${log.time.toIso8601String()}
\tLevel: ${log.level.name}
\tError: ${log.error}
\tMessage: ${log.message.replaceAll("\n", "\n\t")}
""";
}

static String conciseLogMessage(final LogRecord log) {
return "\n${log.sequenceNumber}: ${log.time.toIso8601String()}\nLevel: ${log.level.name}\nMessage: ${log.message}";
return """
[${log.sequenceNumber}] ${log.time.toIso8601String()}
\tLevel: ${log.level.name}
\tMessage: ${log.message.replaceAll("\n", "\n\t")}
""";
}

static String minimalLogMessage(final LogRecord log) {
return """
[${log.sequenceNumber}] ${log.time.toIso8601String()}
\t${log.message.replaceAll("\n", "\n\t")}
""";
}

static String initLog({
required final PackageInfo packageInfo,
required final AndroidDeviceInfo deviceInfo,
}) {
return """
========== APP INFO ==========
App Name: ${packageInfo.appName}
Version: ${packageInfo.version}
Build Number: ${packageInfo.buildNumber}
======== DEVICE INFO =========
Base OS: ${deviceInfo.version.baseOS == "" ? "unknown" : deviceInfo.version.baseOS}
Bootloader: ${deviceInfo.bootloader}
Total RAM: ${deviceInfo.physicalRamSize} MB
Release ${deviceInfo.version.release}
SDK: ${deviceInfo.version.sdkInt}
Security Patch: ${deviceInfo.version.securityPatch}
Manufacturer: ${deviceInfo.manufacturer}
Brand: ${deviceInfo.brand}
Model: ${deviceInfo.model}
Emulator: ${!deviceInfo.isPhysicalDevice}
Hardware Keystore: ${deviceInfo.systemFeatures.contains("android.hardware.hardware_keystore")}
Telephony: ${deviceInfo.systemFeatures.contains("android.hardware.telephony")}
Telephony Messaging: ${deviceInfo.systemFeatures.contains("android.hardware.telephony.messaging")}
Telephony Subscription: ${deviceInfo.systemFeatures.contains("android.hardware.telephony.subscription")}
Any Camera: ${deviceInfo.systemFeatures.contains("android.hardware.camera.any")}
==============================
""";
}
}
10 changes: 3 additions & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import "package:flutter/material.dart";
import "package:permission_handler/permission_handler.dart";
import "package:vidar/configuration.dart";
import "package:vidar/pages/contact_list.dart";
import "package:vidar/pages/no_sms_permission.dart";
import "package:vidar/utils/common_object.dart";
import "package:vidar/utils/contact.dart";
import "package:vidar/utils/settings.dart";
import "package:vidar/utils/sms.dart";
import "package:vidar/utils/storage.dart";

Expand All @@ -13,12 +12,9 @@ late PermissionStatus smsStatus;
void main() async {
WidgetsFlutterBinding.ensureInitialized();

final ContactList contactList = ContactList(<Contact>[]);
final Settings settings = Settings();
CommonObject.contactList = contactList;
CommonObject.settings = settings;
externalConfiguration();

await loadData(contactList, settings);
await loadData(CommonObject.contactList, CommonObject.settings);
SmsConstants(await retrieveSmsConstantsMap());
smsStatus = await Permission.sms.request();

Expand Down
12 changes: 6 additions & 6 deletions lib/pages/chat.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import "package:flutter/material.dart";
import "package:vidar/configuration.dart";
import "package:vidar/pages/contact_list.dart";
import "package:vidar/pages/edit_contact.dart";
import "package:vidar/utils/contact.dart";
import "package:vidar/utils/navigation.dart";
import "package:vidar/utils/settings.dart";
import "package:vidar/widgets/conversation_widget.dart";
import "package:vidar/widgets/message_bar.dart";

Expand All @@ -28,12 +28,12 @@ class _ChatPageState extends State<ChatPage> {
@override
Widget build(final BuildContext context) => Scaffold(
appBar: AppBar(
backgroundColor: VidarColors.secondaryMetallicViolet,
backgroundColor: Settings.colorSet.secondary,
title: Text(
contact.name,
style: const TextStyle(
style: TextStyle(
fontSize: 18,
color: Colors.white,
color: Settings.colorSet.text,
decoration: TextDecoration.none,
),
),
Expand All @@ -44,7 +44,7 @@ class _ChatPageState extends State<ChatPage> {
onPressed: () {
clearNavigatorAndPush(context, const ContactListPage());
},
icon: const Icon(Icons.arrow_back, color: Colors.white),
icon: Icon(Icons.arrow_back, color: Settings.colorSet.text),
tooltip: "Go back",
),
),
Expand All @@ -59,7 +59,7 @@ class _ChatPageState extends State<ChatPage> {
EditContactPage(contact, ContactPageCaller.chatPage),
);
},
icon: const Icon(Icons.edit, color: Colors.white),
icon: Icon(Icons.edit, color: Settings.colorSet.text),
tooltip: "Edit",
),
),
Expand Down
Loading
Loading