Skip to content

Commit

Permalink
fix: Replace Spacer with Expanded to avoid overflow (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube authored Mar 28, 2024
1 parent e85ed5a commit 6f70a07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class SManageApiUrl extends BaseViewModel {
builder: (context) => AlertDialog(
title: Row(
children: <Widget>[
Text(t.settingsView.apiURLLabel),
const Spacer(),
Expanded(
child: Text(t.settingsView.apiURLLabel),
),
IconButton(
icon: const Icon(Icons.manage_history_outlined),
onPressed: () => showApiUrlResetDialog(context),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ class SManageKeystorePassword extends BaseViewModel {
builder: (context) => AlertDialog(
title: Row(
children: <Widget>[
Text(t.settingsView.selectKeystorePassword),
const Spacer(),
Expanded(
child: Text(t.settingsView.selectKeystorePassword),
),
IconButton(
icon: const Icon(Icons.manage_history_outlined),
onPressed: () => _keystorePasswordController.text =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ class SManageSources extends BaseViewModel {
builder: (context) => AlertDialog(
title: Row(
children: <Widget>[
Text(t.settingsView.sourcesLabel),
const Spacer(),
Expanded(
child: Text(t.settingsView.sourcesLabel),
),
IconButton(
icon: const Icon(Icons.manage_history_outlined),
onPressed: () => showResetConfirmationDialog(context),
Expand Down

0 comments on commit 6f70a07

Please sign in to comment.