DartLinter: Add unnecessary_this

This commit is contained in:
Vishesh Handa
2019-02-23 01:33:34 +01:00
parent bad9aa2bd9
commit 8ff5d02033
13 changed files with 38 additions and 38 deletions

View File

@ -151,7 +151,7 @@ class StateContainerState extends State<StateContainer> {
}
print("Starting to syncNotes");
this.noteRepo.sync().then((loaded) {
noteRepo.sync().then((loaded) {
print("NotesRepo Synced: " + loaded.toString());
_loadNotesFromDisk();
}).catchError((err) {
@ -230,9 +230,9 @@ class StateContainerState extends State<StateContainer> {
void completeGitHostSetup(String subFolder) {
setState(() async {
this.appState.remoteGitRepoConfigured = true;
this.appState.remoteGitRepoFolderName = "journal";
this.appState.remoteGitRepoSubFolder = subFolder;
appState.remoteGitRepoConfigured = true;
appState.remoteGitRepoFolderName = "journal";
appState.remoteGitRepoSubFolder = subFolder;
await migrateGitRepo(
fromGitBasePath: appState.localGitRepoPath,
@ -255,7 +255,7 @@ class StateContainerState extends State<StateContainer> {
void completeOnBoarding() {
setState(() {
this.appState.onBoardingCompleted = true;
appState.onBoardingCompleted = true;
_persistConfig();
});
}