mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 12:38:34 +00:00
feat: remove after save
This commit is contained in:
committed by
bggRGjQaUbCoE
parent
f50965862d
commit
47ad1adfdc
@@ -34,7 +34,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
|
||||
late final RxBool readOnly = false.obs;
|
||||
late final RxBool enablePublish = false.obs;
|
||||
|
||||
bool? hasPub;
|
||||
bool hasPub = false;
|
||||
void initPubState();
|
||||
|
||||
@override
|
||||
@@ -57,7 +57,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
if (hasPub != true) {
|
||||
if (!hasPub) {
|
||||
onSave();
|
||||
}
|
||||
focusNode.dispose();
|
||||
|
||||
Reference in New Issue
Block a user