lastFixes #273

Merged
sarah merged 4 commits from lastFixes into trunk 2021-12-21 00:11:46 +00:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 936fca943a - Show all commits

View File

@ -151,7 +151,7 @@ class _AddEditServerViewState extends State<AddEditServerView> {
// metrics
Visibility(
visible: serverInfoState.onion.isNotEmpty,
visible: serverInfoState.onion.isNotEmpty && serverInfoState.running,
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
SizedBox(
height: 20,

View File

@ -29,7 +29,12 @@ class _DoubleColumnViewState extends State<DoubleColumnView> {
Flexible(
flex: cols[1],
child: flwtch.selectedConversation == null
? Card(child: Center(child: Text(AppLocalizations.of(context)!.addContactFirst)))
? Container(
color: Provider.of<Settings>(context).theme.backgroundMainColor,
child: Card(
margin: EdgeInsets.all(0.0),
shape: new RoundedRectangleBorder(side: new BorderSide(color: Provider.of<Settings>(context).theme.defaultButtonColor, width: 4.0), borderRadius: BorderRadius.circular(4.0)),
child: Center(child: Text(AppLocalizations.of(context)!.addContactFirst))))
: //dev
MultiProvider(providers: [
ChangeNotifierProvider.value(value: Provider.of<ProfileInfoState>(context)),