Skip to content

Commit 985ecb0

Browse files
committed
fix some bug
1 parent f839c98 commit 985ecb0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

simple_live_app/lib/models/db/follow_user.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FollowUser {
3939
String? watchDuration; // "00:00:00"
4040

4141
@HiveField(7)
42-
String tag = "全部";
42+
String tag;
4343

4444
/// 直播状态
4545
/// 0=未知(加载中) 1=未开播 2=直播中

simple_live_app/lib/models/db/follow_user.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

simple_live_app/lib/services/migration_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class MigrationService extends GetxService {
3131
if (tag.userId.contains(followList[i].id)) {
3232
followList[i].tag = tag.tag;
3333
DBService.instance.addFollow(followList[i]);
34+
break;
3435
}
3536
}
3637
}

0 commit comments

Comments
 (0)