mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Fix setup showing incorrectly if progress > all
This commit is contained in:
parent
23d9d12be5
commit
26bd5a3285
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ import 'package:nc_photos/widget/home.dart';
|
|||
import 'package:nc_photos/widget/sign_in.dart';
|
||||
import 'package:page_view_indicators/circle_page_indicator.dart';
|
||||
|
||||
bool isNeedSetup() => Pref.inst().getSetupProgress() != _PageId.all;
|
||||
bool isNeedSetup() =>
|
||||
Pref.inst().getSetupProgress() & _PageId.all != _PageId.all;
|
||||
|
||||
class Setup extends StatefulWidget {
|
||||
static const routeName = "/setup";
|
||||
|
|
Loading…
Reference in a new issue