Skip to content

Commit

Permalink
Merge branch 'release/v0.9.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanM04 committed Jan 27, 2020
2 parents 5ea3317 + 64208dc commit 24015b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion lib/screens/settings/backups.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ class _BackupsSettingsState extends State<BackupsSettings> {
child: loading
? Spinner(size: 50)
: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
if (signedIn)
CircleAvatar(
backgroundImage: NetworkImage(user.photoUrl),
),
Padding(
padding: EdgeInsets.fromLTRB(0, 20, 0, 10),
padding: EdgeInsets.symmetric(vertical: 10),
child: Text(
signedIn
? ('Conectado: ' + user.displayName)
Expand Down
2 changes: 1 addition & 1 deletion lib/services/backup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class BackupService {
final u = await user;
if (u == null) return;

await _db.document('users/${u.uid}').setData({
await _db.document('users/${u.uid}').updateData({
'animes.${anime.id}': anime.toMap(true),
'updatedAt': FieldValue.serverTimestamp(),
});
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Ver anime sin complicaciones.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.9.1
version: 0.9.2

environment:
sdk: ">=2.6.0 <3.0.0"
Expand Down

0 comments on commit 24015b9

Please # to comment.