Skip to content

Commit

Permalink
bug fixes and update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nixrajput committed Oct 11, 2022
1 parent adfdbf6 commit 3042614
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/apis/providers/api_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:video_calling_app/constants/urls.dart';

class ApiProvider {
ApiProvider(this._client, {this.baseUrl}) {
baseUrl ??= AppUrls.baseUrl;
baseUrl ??= AppSecrets.awsServerUrl;
}

final http.Client _client;
Expand Down
7 changes: 4 additions & 3 deletions lib/modules/auth/views/change_password_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ class ChangePasswordView extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const NxAppBar(
NxAppBar(
title: StringValues.changePassword,
padding: Dimens.edgeInsets8_16,
),
_buildBody(logic),
],
Expand All @@ -41,7 +42,7 @@ class ChangePasswordView extends StatelessWidget {
child: NxFilledButton(
borderRadius: Dimens.zero,
onTap: logic.changePassword,
label: StringValues.changePassword,
label: StringValues.changePassword.toUpperCase(),
),
)
],
Expand All @@ -56,7 +57,7 @@ class ChangePasswordView extends StatelessWidget {
Widget _buildBody(ChangePasswordController logic) => Expanded(
child: SingleChildScrollView(
child: Padding(
padding: Dimens.edgeInsets8,
padding: Dimens.edgeInsets8_16,
child: FocusScope(
node: logic.focusNode,
child: Column(
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/calling/views/join_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ class JoinView extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
const NxAppBar(
NxAppBar(
title: StringValues.join,
padding: Dimens.edgeInsets8_16,
),
Expanded(
child: Column(
Expand All @@ -39,7 +40,7 @@ class JoinView extends StatelessWidget {
children: [
const Expanded(child: SizedBox()),
Padding(
padding: Dimens.edgeInsets8,
padding: Dimens.edgeInsets8_16,
child: Column(
children: [
TextFormField(
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/calling/views/start_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ class StartView extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
const NxAppBar(
NxAppBar(
title: StringValues.start,
padding: Dimens.edgeInsets8_16,
),
Expanded(
child: Column(
Expand All @@ -39,7 +40,7 @@ class StartView extends StatelessWidget {
children: [
const Expanded(child: SizedBox()),
Padding(
padding: Dimens.edgeInsets8,
padding: Dimens.edgeInsets8_16,
child: Column(
children: [
Row(
Expand Down
5 changes: 3 additions & 2 deletions lib/modules/profile/views/profile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ class ProfileView extends StatelessWidget {
height: Dimens.screenHeight,
child: Column(
children: [
const NxAppBar(
NxAppBar(
title: StringValues.profile,
padding: Dimens.edgeInsets8_16,
),
Expanded(
child: Padding(
padding: Dimens.edgeInsets8,
padding: Dimens.edgeInsets8_16,
child: GetBuilder<ProfileController>(
builder: (logic) {
if (logic.isLoading) {
Expand Down

0 comments on commit 3042614

Please sign in to comment.