mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Add no account image screen
This commit is contained in:
parent
ef9510e731
commit
7bb805bffd
@ -60,7 +60,22 @@ class __AccountImageSettingsBodyState extends State<_AccountImageSettingsBody> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// When user has no account image yet
|
/// When user has no account image yet
|
||||||
List<SettingsTile> _buildNoAccountImageTiles() {}
|
List<SettingsTile> _buildNoAccountImageTiles() {
|
||||||
|
return [
|
||||||
|
SettingsTile(
|
||||||
|
title: tr("No account image yet..."),
|
||||||
|
leading: NetworkImageWidget(
|
||||||
|
url: _settings.imageURL,
|
||||||
|
width: 40,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
// Upload new account image
|
||||||
|
SettingsTile(
|
||||||
|
title: tr("Upload an account image"),
|
||||||
|
onTap: () => _uploadAccountImage(),
|
||||||
|
),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
/// When the user has an account image
|
/// When the user has an account image
|
||||||
List<SettingsTile> _buildHasAccountImageTiles() {
|
List<SettingsTile> _buildHasAccountImageTiles() {
|
||||||
|
Loading…
Reference in New Issue
Block a user