A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Indicate auth method earlier

+25 -12
+20 -11
src/Applications/Brain/User/State.elm
··· 187 187 } 188 188 189 189 Ok ( maybeMethod, migratingData, Nothing ) -> 190 - (if migratingData then 191 - hypaethralDataRetrieved Json.null 190 + { model 191 + | authMethod = maybeMethod 192 + , migratingData = migratingData 193 + , performingSignIn = True 194 + } 195 + |> (if migratingData then 196 + hypaethralDataRetrieved Json.null 197 + 198 + else 199 + retrieveAllHypaethralData 200 + ) 201 + |> (case maybeMethod of 202 + Just method -> 203 + andThen (Common.giveUI Alien.AuthMethod <| encodeMethod method) 192 204 193 - else 194 - retrieveAllHypaethralData 195 - ) 196 - { model 197 - | authMethod = maybeMethod 198 - , migratingData = migratingData 199 - , performingSignIn = True 200 - } 205 + Nothing -> 206 + identity 207 + ) 201 208 202 209 _ -> 203 210 Return.singleton model ··· 682 689 case decodeMethod json of 683 690 -- 🚀 684 691 Just method -> 685 - retrieveAllHypaethralData { model | authMethod = Just method } 692 + { model | authMethod = Just method } 693 + |> retrieveAllHypaethralData 694 + |> andThen (Common.giveUI Alien.AuthMethod <| encodeMethod method) 686 695 687 696 -- ✋ 688 697 _ ->
+5 -1
src/Applications/UI/Authentication/State.elm
··· 373 373 if m.migratingData then 374 374 "Migrated data successfully" 375 375 |> Notifications.success 376 - |> showNotificationWithModel { m | migratingData = False } 376 + |> showNotificationWithModel 377 + { m 378 + | isLoading = False 379 + , migratingData = False 380 + } 377 381 |> User.saveAllHypaethralData 378 382 379 383 else