mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
opt: LoadingState (#1776)
This commit is contained in:
committed by
GitHub
parent
3741fe54ff
commit
17883eb77e
@@ -17,7 +17,7 @@ sealed class LoadingState<T> {
|
||||
_ => null,
|
||||
};
|
||||
|
||||
void toast() => SmartDialog.showToast(toString());
|
||||
Future<void> toast() => SmartDialog.showToast(toString());
|
||||
}
|
||||
|
||||
class Loading extends LoadingState<Never> {
|
||||
|
||||
Reference in New Issue
Block a user